=== YS LeadGen Popup Builder – Boost Sales, Capture Leads & Increase Conversions with Smart Popups ===
Contributors: ysinnovations
Tags: popup builder, popup maker, exit intent popup, lead generation, woocommerce popup
Requires at least: 5.3
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Popup builder for WordPress to create exit intent popups, email opt-in forms, coupon popups, floating bars, and WooCommerce cart abandonment popups.

== Description ==

[YS LeadGen](https://ysleadgen.com) is a conversion-focused **popup builder plugin for WordPress** that helps you turn website visitors into subscribers, leads, and customers using targeted popup campaigns.

Most websites don’t struggle with traffic — they struggle with conversion. Visitors browse your content, view products, and leave without taking action. With the right popup shown at the right moment, you can guide those visitors toward subscribing, purchasing, or engaging with your business.

YS LeadGen allows you to create behavior-driven popups such as **exit intent popups**, **email opt-in forms**, **coupon popups**, **floating bars**, **countdown popups**, and **WooCommerce cart abandonment popups** — all directly from your WordPress dashboard.

You can control exactly when and where each popup appears:

* When a visitor is about to leave (exit intent popup)  
* After scrolling through your content (scroll popup)  
* After spending time on a page (time delay popup)  
* When a user clicks a button or link (click trigger popup)  

Unlike SaaS popup tools, everything runs inside your website. There are no external accounts, no monthly fees, and no dependency on third-party platforms. All leads and form submissions are stored in your WordPress database, giving you complete ownership and control over your data.

Getting started is simple. Choose a popup template, customize it using the drag-and-drop popup builder, configure your triggers and targeting rules, and publish your campaign in minutes.

**Try Live Demo:** [https://demo.ysleadgen.com](https://demo.ysleadgen.com)  
**Read Documentation:** [https://docs.ysleadgen.com](https://docs.ysleadgen.com)  
**Get Support:** [https://ysleadgen.com/support](https://ysleadgen.com/support)  
**Visit Website:** [https://ysleadgen.com](https://ysleadgen.com)  

= Who Is This Popup Builder For? =

YS LeadGen is designed for WordPress website owners who want a practical, conversion-focused popup builder — simple enough to get started quickly, yet flexible enough to run advanced campaigns.

It works across different use cases depending on your goal:

* **Bloggers and content creators** — grow your email list using targeted email opt-in popups, lead magnets, and scroll-based engagement forms  
* **WooCommerce stores** — recover abandoned carts, reduce checkout drop-offs, and increase sales with coupon popups, cart abandonment popups, and product-based targeting  
* **Lead generation websites** — capture high-intent visitors using behavior-triggered popup forms such as exit intent and click-based popups  
* **Marketing agencies** — manage multiple popup campaigns across client websites with flexible targeting, triggers, and reusable strategies  
* **Small business owners** — convert existing website traffic into leads and customers without relying on external SaaS tools or recurring subscription costs  

Whether your focus is email growth, lead capture, or increasing conversions, this popup builder adapts to your workflow.

= Popup Types =

YS LeadGen includes a complete set of popup types designed for different conversion scenarios. Each popup type serves a specific purpose depending on user behavior and intent.

**Lightbox Popup (Modal Popup)**  
A centered popup overlay that captures full attention. Best used for email opt-in forms, lead capture, announcements, and promotional offers where visibility is critical.

**Exit Intent Popup**  
Detects when a visitor is about to leave your website and shows a targeted message at the decision point. Ideal for reducing bounce rate, capturing leads, or offering last-minute discounts.  
*Exit intent popup is included in the free version.*

**Floating Bar (Notification Bar)**  
A sticky bar displayed at the top or bottom of the screen. Useful for announcements, coupon codes, and persistent call-to-action messages without interrupting the browsing experience.

**Slide-In Popup**  
Appears from the corner of the screen in a subtle way. Designed for content-heavy pages where you want engagement without being intrusive.

**Scroll Popup**  
Triggered after a user scrolls a specific percentage of the page. Helps engage visitors who are actively consuming your content, making it ideal for blog posts and long-form pages.

**Countdown Popup**  
Includes a live countdown timer to create urgency. Commonly used for flash sales, limited-time offers, and campaign-based promotions.

**Coupon Popup**  
Displays discount codes or promotional offers based on visitor behavior or targeting rules. Effective for increasing conversions and encouraging first-time purchases.

**Cart Abandonment Popup**  
Designed for WooCommerce stores. Triggers when a user is about to leave the cart or checkout page, helping recover lost sales and improve conversion rate.

**Spin-to-Win Popup**  
A gamified popup that increases engagement through interactive discounts. Visitors spin a wheel to unlock offers, improving participation and lead capture rates.

**Time Delay Popup**  
Displays after a visitor spends a defined amount of time on a page. Useful for targeting engaged users who are more likely to convert.

**Fullscreen Popup**  
A full-page overlay that delivers maximum visibility. Best suited for announcements, welcome messages, and high-priority campaigns.

**Yes/No Popup (Two-Step Popup)**  
A multi-step popup that asks a simple question before showing a form. Helps qualify visitors, segment users, and improve conversion rates by reducing friction.

Each popup type can be combined with advanced triggers and targeting rules, allowing you to create highly relevant and behavior-driven campaigns instead of generic popups.

= Popup Triggers =

Control exactly when each popup appears by matching it with real user behavior.

Instead of showing popups randomly, triggers allow you to display messages at the moment when a visitor is most likely to take action.

* **Exit intent** — fires when the cursor moves toward the browser bar, just before the visitor leaves. Ideal for recovering abandoning users  
* **Scroll depth** — trigger at 25%, 50%, 75%, or a custom percentage to engage users who are actively reading content  
* **Time on page** — show a popup after a visitor has spent a defined amount of time, indicating interest or engagement  
* **Inactivity** — re-engage visitors who stop interacting with the page for a specific duration  
* **Click trigger** — open a popup when a user clicks any button, link, image, or element, capturing high-intent interactions  
* **Page load** — display a popup immediately after the page loads, useful for announcements or welcome messages  

These triggers help align popup timing with user intent, improving engagement without interrupting the browsing experience.

= Targeting and Display Rules =

Show each popup only to the right visitor, in the right context, at the right time.

Instead of displaying the same popup to everyone, you can define precise targeting rules to improve relevance and conversion rates.

* Target new vs. returning visitors  
* Show popups on specific pages, posts, categories, tags, or custom post types  
* Device targeting — desktop, tablet, or mobile visitors  
* Traffic source targeting using referrer URLs and UTM parameters  
* Logged-in vs. logged-out user targeting  
* Date and time scheduling for campaigns and promotions  
* Session and frequency controls to avoid repeated popup display  

Advanced targeting options (Pro):

* WooCommerce cart value, product page, and category targeting  
* Geolocation targeting by country or region  
* A/B split testing to compare popup variations and improve performance  

With these rules, you can create highly relevant, behavior-driven popup campaigns instead of generic messages.

= Visual Drag-and-Drop Popup Builder =

Design and launch popups directly inside your WordPress dashboard without writing code.

The builder is designed for both speed and flexibility, allowing you to create professional popups in minutes.

* Drag-and-drop popup builder with real-time preview before publishing  
* Ready-made templates for email opt-ins, WooCommerce offers, lead generation, and seasonal campaigns  
* Full design control — colors, fonts, layouts, borders, and backgrounds  
* Entrance and exit animations to improve visual engagement  
* Fully responsive design across desktop, tablet, and mobile devices  
* Dynamic text replacement using URL parameters for personalized messaging  
* Built-in GDPR consent checkbox block for compliance  
* Custom CSS support for advanced customization  

This allows you to create high-converting popups without relying on developers.

= Lead Capture Forms =

Create flexible lead capture forms inside any popup to collect user information and grow your audience.

Forms are fully customizable and designed to support both simple email collection and advanced lead generation.

* Email opt-in forms with support for single and double opt-in workflows  
* Multi-field forms including name, email, phone number, and custom fields  
* Yes/No two-step forms to qualify leads and segment visitors before showing a form  
* Phone number input with international format support  
* GDPR consent checkbox for compliance  
* reCAPTCHA v2 and v3 integration to prevent spam submissions  
* Email notifications for every new lead submission  

These features allow you to use popups as a complete lead generation system.

= Lead Management =

All captured leads are stored directly inside your WordPress database, giving you full ownership and control over your data.

You can manage and export leads without relying on external platforms.

* Central lead management dashboard inside WordPress admin  
* Filter, search, and segment leads by campaign, form, or date  
* View detailed lead information including custom field data  
* Export leads as CSV for use in any email marketing or CRM platform  
* Lead data remains safe even if the plugin is deactivated  

This ensures your data is always accessible and secure.

= Built-In Popup Analytics =

Track and measure the performance of your popup campaigns without needing additional tools.

Understanding performance helps you improve conversions over time.

* Track popup impressions and form submissions per campaign  
* Automatic conversion rate calculation  
* Visual performance insights and campaign-level metrics  
* Device-based performance breakdown — desktop, mobile, tablet  
* Conversion source tracking to identify where leads originate  
* Google Analytics 4 (GA4) event integration  
* Export analytics data for reporting and analysis  

These insights allow you to optimize your popup strategy based on real user behavior.

= Email Marketing and CRM Integrations =

Automatically send captured leads from your popup forms to your email marketing and CRM platforms *(Pro)*.

Instead of manually exporting and importing leads, you can connect your popup campaigns directly to your marketing workflows and follow up with users in real time.

* **Mailchimp** — automatically sync new subscribers to your email lists and trigger campaigns  
* **HubSpot** — send captured leads directly into your CRM pipeline for sales and follow-up  
* **Omnisend** — trigger automated email and SMS sequences based on popup form submissions  
* **Webhooks** — connect with any email tool, CRM, or automation platform using HTTP requests  

This allows you to turn popup leads into subscribers, customers, and long-term relationships without manual effort.

= WooCommerce Popup Integration =

Create targeted WooCommerce popup campaigns based on real shopping behavior and user intent.

Instead of showing generic popups, you can interact with shoppers at key moments in the buying journey — increasing conversions and recovering lost revenue.

* **Cart Abandonment Popup** — detect when a shopper is about to leave the cart or checkout page and show a recovery message or discount  
* **Checkout Exit Popup** — reduce last-step drop-offs by offering a final incentive before the user exits  
* **Add to Cart Trigger** — display upsell or cross-sell popups immediately after a product is added to the cart  
* **Coupon Popup** — deliver personalized discount codes based on cart value, products, or categories  
* **Cart Email Capture** — collect email addresses from guest users during the session for abandoned cart follow-up  
* **Product and Category Targeting** — show relevant popups only on selected product pages or categories  

These features help increase conversion rate, average order value, and overall store performance.

= Privacy and Spam Protection =

YS LeadGen is built with privacy, security, and compliance in mind.

* GDPR consent checkbox included in the popup form builder  
* All popup data and leads stored locally in your WordPress database  
* No data shared with external services unless integrations are enabled  
* reCAPTCHA v2 and v3 support to prevent spam submissions  
* Compatible with popular cookie consent and privacy plugins  

You maintain full control over user data and compliance requirements.

= Free vs Pro =

YS LeadGen provides a fully functional free version to help you get started with popup campaigns and lead generation.

**Free Version Includes:**

* All popup types including exit intent, coupon, and cart abandonment popups  
* All trigger types such as exit intent, scroll, time delay, and click triggers  
* Targeting and display rules  
* Drag-and-drop popup builder with templates  
* Built-in analytics and conversion tracking  
* Local lead storage and CSV export  
* Google Analytics (GA4) integration  

**Pro Version Adds:**

* Direct email marketing and CRM integrations (Mailchimp, HubSpot, Omnisend)  
* Webhooks for custom integrations  
* Advanced WooCommerce targeting and conditions  
* Geolocation-based targeting  
* A/B split testing for optimization  
* Priority support  

This allows you to start for free and scale into advanced automation and conversion strategies as your needs grow.

== Installation ==

= Automatic Installation =

1. Go to **Plugins → Add New** in your WordPress admin dashboard  
2. Search for **YS LeadGen**  
3. Click **Install Now**, then **Activate**  
4. Open **YS LeadGen** from the admin sidebar and create your first popup campaign  

= Manual Installation =

1. Download the plugin ZIP file from WordPress.org  
2. Go to **Plugins → Add New → Upload Plugin**  
3. Upload the ZIP file and click **Install Now**  
4. Activate the plugin  
5. Open **YS LeadGen** from the admin sidebar to get started  

== Frequently Asked Questions ==

= What is a popup builder plugin in WordPress? =

A popup builder plugin allows you to create popups, opt-in forms, and overlays to capture leads, show offers, and improve conversions. YS LeadGen lets you build exit intent popups, email opt-in forms, coupon popups, and WooCommerce popups directly inside your WordPress dashboard.

= Is this popup builder free to use? =

Yes. The free version includes all popup types, triggers, targeting rules, drag-and-drop builder, templates, built-in analytics, and local lead storage. You can start without any subscription or credit card. Pro features are available for advanced integrations and targeting.

= Does this plugin include exit intent popup for free? =

Yes. Exit intent popup detection is included in the free version. You can capture visitors before they leave your website without upgrading, which is often a paid feature in other popup tools.

= How do I create a popup in WordPress without coding? =

Install and activate YS LeadGen, then open it from your admin sidebar. Create a new popup, choose a template, customize it using the drag-and-drop builder, set triggers like exit intent or scroll, apply targeting rules, and publish. No coding is required at any step.

= What types of popups can I create? =

You can create modal popups, exit intent popups, slide-in popups, floating bars, scroll-triggered popups, countdown popups, coupon popups, cart abandonment popups, fullscreen popups, and Yes/No multi-step popups. All core popup types are available in the free version.

= What is an exit intent popup and why is it important? =

An exit intent popup appears when a visitor is about to leave your website. It detects cursor movement toward the browser controls and shows a targeted message at the last moment. This helps reduce bounce rate and recover potential leads or sales.

= Does this plugin work with WooCommerce? =

Yes. YS LeadGen includes WooCommerce popup features such as cart abandonment popups, checkout exit popups, add-to-cart triggers, coupon popups, and product-based targeting. These help increase conversions and recover lost sales.

= Can I use this plugin as a lead generation form builder? =

Yes. You can create popup forms with multiple fields such as name, email, and phone number. All leads are stored in your WordPress database and can be exported or integrated with email marketing tools.

= Will popup forms slow down my website? =

No. The plugin is optimized to load only the required scripts for active popups. It is designed to maintain performance and avoid negative impact on Core Web Vitals.

= Where are my popup leads stored? =

All leads collected through popup forms are stored locally in your WordPress database. You have full control and can view, filter, and export them at any time.

= Can I show popups only on specific pages or users? =

Yes. You can target popups based on pages, posts, categories, device type, traffic source, user login status, and more. This allows you to show relevant popups to the right audience.

= Can I show different popups for mobile and desktop users? =

Yes. You can create device-specific popup campaigns and control visibility for desktop, tablet, and mobile users separately.

= Is this popup plugin GDPR compliant? =

Yes. The plugin includes a GDPR consent checkbox in the form builder. All data is stored locally and not shared with third parties unless you enable integrations.

= Which email marketing tools does it support? =

The Pro version integrates with Mailchimp, HubSpot, and Omnisend. Webhook support allows integration with other tools like ActiveCampaign, ConvertKit, Klaviyo, and more.

= Does it support A/B testing for popups? =

Yes. The Pro version includes A/B split testing, allowing you to test different popup variations and optimize for higher conversion rates.

= Can I create WooCommerce coupon popups? =

Yes. You can create coupon popups based on cart value, specific products, or categories. This helps increase conversions and encourage purchases.

= What happens to my data if I deactivate the plugin? =

All popup settings and captured leads remain stored in your WordPress database. No data is deleted after deactivation.

= Can I use this plugin on multiple WordPress websites? =

Yes. You can install and use the plugin on multiple WordPress sites. Each site will have its own popup campaigns and lead data.

== Screenshots ==

1. Popup campaign dashboard with impressions, conversions, and performance metrics across all active popup campaigns  
2. Drag-and-drop popup builder with live preview for designing high-converting popups  
3. Popup template library with email opt-in, promotional, and WooCommerce popup templates  
4. Popup trigger settings including exit intent, scroll depth, time delay, and click triggers  
5. Targeting and display rules panel for controlling where and when popups appear  
6. Lead management dashboard inside WordPress admin with filtering and export options  
7. Analytics overview showing conversion rate, impressions, and campaign performance insights  
8. WooCommerce popup settings for cart abandonment, coupon popups, and product targeting  

== Changelog ==

= 2.1.2 =
* Added A/B split testing for popup campaign optimizations
* Added behavior-based targeting using visitor engagement conditions
* Added smart popup frequency controls and cooldown management
* Added popup dismissal tracking to reduce popup fatigue

= 2.1.1 =
* Fixed issue where the dashboard was not loading in certain cases
* Added captured leads page url to display in leads table and particular campaign details
* Updated main plugin file description for better clarity and consistency

= 2.1.0 =
* Added new popup types: Fullscreen, Slide-In, Yes/No (two-step), and Spin Wheel
* Introduced dedicated templates for each new popup type
* Expanded template library with new designs across all popup categories
* Improved popup builder compatibility to support new popup layouts
* Minor UI improvements and performance optimizations

= 2.0.1 =
* Fixed date and time scheduling issues affecting popup display rules  
* Fixed link trigger not firing correctly in certain conditions  
* Improved browser targeting accuracy for better user matching  
* Minor bug fixes and performance improvements  

= 2.0.0 =
* Major feature: Introduced full WooCommerce popup integration including triggers, conditions, coupon popups, and cart email capture  
* Added WooCommerce triggers: Add to Cart, Cart Page Load, Checkout Page Load, Exit Intent on cart and checkout, and Product Page Load  
* Added WooCommerce conditions: cart value rules, product targeting, category targeting, and user-based conditions  
* Added coupon popup with cart value and product/category restrictions  
* Added cart email capture for abandoned cart recovery  
* Implemented REST API-based data handling for WooCommerce popup interactions  
* Improved UI/UX across popup builder, display rules, and integrations  
* Minor UI and compatibility improvements  

= 1.1.6 =
* Fixed close button styling conflict with certain themes  
* Added additional configuration options for floating bar popups  
* Added phone input field for lead capture forms  
* Minor UI and compatibility improvements  

= 1.1.5 =
* Security fix: Resolved CVE-2026-1255 related to unauthenticated AJAX access  
* Restricted captured lead data access to authenticated administrators only  
* Added nonce validation and capability checks to all AJAX actions  
* Removed unauthenticated AJAX actions  
* Implemented REST API endpoints with secure permission validation  
* General security hardening  

= 1.1.4 =
* Introduced feature gating for Pro features and campaign limits  
* Improved popup rendering performance and trigger stability  
* Fixed minor UI inconsistencies in popup builder  
* Compatibility improvements and bug fixes  

= 1.1.3 =
* Added margin controls for popup elements including image, text, button, countdown, GDPR, and form fields  
* Added button hover color customization  
* Added GDPR consent checkbox block  
* Added countdown timer configuration options  
* Added onboarding flow with guided setup  

= 1.1.2 =
* Added popup impressions, conversions, and conversion rate tracking  
* Added device-based performance breakdown (desktop, mobile, tablet)  
* Added conversion source tracking  
* Added Google Analytics 4 (GA4) integration  

= 1.1.1 =
* Added alphabetical campaign sorting (A–Z)  
* Added bulk delete with confirmation  
* Added Save as Draft option  
* Improved campaign organization in dashboard  
* Added news and updates section  

= 1.1.0 =
* Added popup entrance and exit animations  
* Introduced floating bar popup type  
* Added floating bar positioning and display controls  
* Added seasonal popup templates  

= 1.0.2 =
* Added dynamic text replacement using URL parameters  
* Added URL parameter targeting  
* Added geolocation targeting  
* Added auto-close option  

= 1.0.1 =
* Added two-step (Yes/No) popup support  
* Added scroll depth and inactivity triggers  
* Added click trigger support  
* Added popup animation and positioning controls  
* Added reCAPTCHA integration  
* Added browser and OS targeting  
* Added new popup templates  
* Added CSV lead export  

== Upgrade Notice ==

= 2.0.1 =
Bug fixes for scheduling, link trigger, and browser targeting. Recommended update for all users.

= 2.0.0 =
Major update introducing WooCommerce popup features including cart abandonment, coupon popups, and product targeting. Recommended for all users.

= 1.1.5 =
Critical security update. Update immediately.

== Privacy Policy ==

YS LeadGen stores popup settings, captured leads, and analytics data locally in your WordPress database. No data is shared externally unless you enable integrations such as Mailchimp, HubSpot, or Omnisend.

Privacy policy: https://ysleadgen.com/privacy-policy