=== YS LeadGen – Popup Builder, Popup Maker & Form Builder for WordPress | Lead Generation, Email Marketing, Sales, Conversions, Opt-Ins & Subscribers ===
Contributors: ysinnovations
Donate link: https://ysleadgen.com
Tags: popup builder, popup maker, exit intent, lead generation, email opt-in
Requires at least: 5.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The WordPress popup builder for exit intent popups, email opt-ins, and lead generation — free to start, no subscriber caps on the core plugin.

== Description ==

Powerful Free Version | Optional PRO Upgrade | [Pricing](https://ysleadgen.com/pricing/)

Most website visitors leave without signing up, subscribing, or buying anything. YS LeadGen helps you turn more of them into email subscribers, leads, and customers — using popups and forms you build yourself, right inside WordPress. No coding. No monthly subscription. No limit on how many people sign up.

**Why WordPress users pick YS LeadGen:**

* ✅ **A real free plugin, not a demo** – the free version isn't a limited trial; you can run full campaigns with it
* ✅ **No limit on subscribers** – your email list can grow as big as you want, and it still costs nothing
* ✅ **Your leads stay on your own website** – names and emails are saved in your WordPress database, not sent to another company by default
* ✅ **Nothing extra to sign up for** – no separate account, no other website to log into; everything happens in your WordPress dashboard
* ✅ **13+ ways to reach visitors** – popups, slide-ins, forms, spin wheels, quizzes, and more, all in one plugin
* ✅ **PRO available if you want more** – a one-time payment (not a subscription) unlocks extra templates and advanced tools, whenever you're ready

= Build Beautiful Popups with an Easy Visual Builder =

YS LeadGen comes with an intuitive drag-and-drop-style builder that lets you create custom popup and form designs in minutes. Add text, images, countdown timers, and buttons while previewing your changes live.

No coding, no confusion — just simple, visual control over how your campaign looks and behaves. Every design is fully responsive, so your popups look great on desktop, tablet, and mobile.

= Choose from Multiple Campaign Types =

YS LeadGen gives you the flexibility to design campaigns that fit your goals:

* **Lightbox popups** for email opt-ins and offers
* **Exit intent popups** for visitors about to leave
* **Floating bar / announcement bars** for site-wide messages and promo codes
* **Corner slide-ins** that don't cover the page
* **Inline signup forms** placed directly inside your content
* **Spin-to-win coupon wheels** for interactive offers
* **Multi-step forms** that break long forms into easy steps
* **Quizzes** that deliver a personalized result
* **Countdown timers** that create urgency around a sale
* **Content lockers** for gated content and downloads
* **Social proof popups** showing recent activity
* **Video popups** for YouTube, Vimeo, or self-hosted video
* **Floating badge buttons** that open a popup on click

Each style feels modern and non-intrusive, keeping visitors engaged without hurting their experience. Every campaign is fully responsive out of the box, and since phones don't have a mouse to track, mobile exit intent uses a fast scroll-up gesture or back-button tap instead — so you don't lose that last chance to convert on mobile traffic.

= Smart Targeting & Trigger Controls =

You decide exactly where, when, and to whom your campaigns appear. Use smart targeting options like:

* **Page-level targeting** – show on specific pages, posts, categories, or WooCommerce products
* **Device targeting** – show or hide on mobile, tablet, or desktop
* **Location targeting** – target visitors by country or city
* **Traffic source targeting** – target visitors from a specific search engine, ad, or referral
* **On-site retargeting** – stop showing offers to visitors who already converted
* **Rule combinations** – combine conditions with AND/OR logic

Trigger your campaigns with behavior-based controls such as:

* **Exit intent** – when a visitor is about to leave
* **Time delay / scheduling** – after a set amount of time, or during a scheduled period
* **Scroll depth** – after a visitor reaches a chosen percentage of the page
* **Click trigger** – on a button, link, image, or menu item

These options let you build campaigns that appear at the right moment without annoying your audience.

= Built for WooCommerce =

If you run a WooCommerce store, YS LeadGen helps you engage shoppers at the moments that matter most:

* **Cart triggers** – show a popup when a product is added to the cart
* **Checkout triggers** – display a message when shoppers reach checkout
* **Cart value rules** – trigger campaigns based on cart value or selected products
* **Dynamic coupons** – generate and apply a discount code on signup
* **Cart recovery emails** – follow up with shoppers who leave without buying
* **Product recommendations** – show related products or bestsellers inside a campaign

Add a countdown timer to any campaign to push flash sales and limited-time offers over the line, and schedule campaigns with set start and end times so seasonal promotions run automatically — even while you're offline.

= Forms and Payments =

Use the built-in form tools to collect exactly the information your business needs:

* **Custom form fields** – build contact and lead forms with the fields you choose
* **Direct payments** – collect payments inside a form via Stripe, PayPal, or Square
* **Test mode** – test payment forms before going live
* **Works with other form plugins** – add popup triggers and tracking to Contact Form 7, WPForms, Gravity Forms, or Fluent Forms

= Stunning Templates for Every Campaign =

No design experience? No problem. YS LeadGen includes a large library of pre-made templates crafted to look professional and convert effectively.

Every template is customizable with your own branding, colors, and fonts, so you can launch a polished campaign in minutes instead of hours. Browse the full [template library](https://ysleadgen.com/popup-templates/) to see what's available.

= Measure Success with Detailed Analytics =

YS LeadGen's analytics dashboard helps you track performance in real time, including:

* Campaign analytics for views, conversions, and leads
* Cart recovery and coupon performance for WooCommerce
* Form performance and conversion rates
* Centralized lead management across all your campaigns

These insights help you optimize designs, adjust targeting, and continuously improve results.

= Integrate with Your Favorite Tools =

YS LeadGen connects seamlessly with the tools you already use:

* **Email marketing** – Mailchimp, HubSpot, Brevo, Klaviyo, ActiveCampaign, MailerLite, Kit, GetResponse, AWeber, Drip, and Omnisend
* **Webhooks** – send lead data to Zapier, Make, or other services
* **Analytics** – track campaign events in Google Analytics 4
* **Page builders** – Elementor, Divi, Gutenberg, Bricks, Beaver Builder, and Oxygen

These integrations help you sync data, manage leads, and automate follow-ups — saving time while improving marketing results.

= Privacy and Trust Built In =

* **GDPR cookie consent** – a built-in banner can block tracking scripts until a visitor consents
* **Age verification** – an optional age-check gate for restricted content or products
* **Spam protection** – Google reCAPTCHA helps block unwanted bot submissions
* **A/B testing** – compare two versions of a campaign to see which converts better

= Built for Your Whole Team, Powered by Your Own Data =

Business owners capture leads and recover lost sales. Designers build fully branded popups that match the site. Developers manage every campaign directly in WordPress — with no separate SaaS platform required.

All of it runs on your own WordPress database. Subscriber and lead data stays on your site, not an outside company's servers, so there's no monthly bill that grows with your list and no subscriber limit, ever.

YS LeadGen is also built for speed: popup code only loads on pages with an active campaign, so every other page on your site loads exactly as fast as it did before.

= What's Free vs. What's in PRO =

The free plugin is not a limited trial. It includes real campaign building with no subscriber cap, so most people can run their entire lead generation strategy on the free version alone — PRO is there if you want extra templates or automation later.

**Included free, no time limit:**

* Visual popup and form builder
* Lightbox, exit intent, floating bar, slide-in, and inline campaigns
* Spin-to-win, quiz, content locker, and video popups
* Countdown timers and campaign scheduling
* Page-level, device, and location targeting
* Exit intent, scroll, click, and time-delay triggers
* Full WooCommerce cart and checkout triggers
* Custom form builder with payment fields
* Campaign analytics and lead management dashboard
* GDPR cookie consent and age verification
* A/B testing
* Email marketing and webhook integrations

**PRO adds (one-time lifetime pricing, no subscription):**

* Extra premium templates and design assets
* Advanced automation and AI-assisted features
* Priority support

See the [full pricing breakdown](https://ysleadgen.com/pricing/) for details. PRO is entirely optional — most users never need to upgrade to run effective campaigns.

= Try It, Then Decide =

The [live demo](https://demo.ysleadgen.com/) lets you build a real campaign in your browser — no account required.

The [documentation](https://docs.ysleadgen.com/) includes step-by-step setup guides, and the [template library](https://ysleadgen.com/popup-templates/) gives you hundreds of ready-made designs to launch faster.

Grow your list, capture more leads, recover lost sales, and keep full ownership of your data — all from inside WordPress.

== Installation ==

**Quick setup, takes about 5 minutes:**

1. In your WordPress dashboard, go to **Plugins > Add New**.
2. Search for `YS LeadGen`.
3. Click **Install Now**, then **Activate**.
4. Open **YS LeadGen** from the left sidebar menu.
5. Click **Add New Campaign** and pick a template, or start blank.
6. Choose a trigger — exit intent, time delay, or scroll — and pick which pages it should show on.
7. Click **Publish**.

That's it. Your first popup is live.

If you want to connect an email marketing service, go to **Integrations**. If you run WooCommerce, go to **Ecommerce Rules** to set up cart abandonment campaigns.

**If you downloaded the plugin as a zip file:** go to **Plugins > Add New > Upload Plugin**, choose the file, then click **Install Now** and **Activate**.

== Frequently Asked Questions ==

= Is YS LeadGen free? =

Yes. The core plugin is free with no time limit, no view limit, and no subscriber cap. A separate paid version adds extra templates and advanced automation, but it's entirely optional.

= How is this different from other popup plugins that charge monthly? =

Many popup tools charge based on how many subscribers or pageviews you have, which means your bill grows as your list grows. YS LeadGen doesn't work that way — the free plugin has no subscriber limit, because everything runs on your own WordPress site instead of an external SaaS platform.

= What do I get with PRO? =

PRO is a one-time lifetime purchase, not a subscription. It adds extra premium templates, advanced automation features, and priority support on top of everything already included in the free plugin. It's entirely optional — the free version includes real, unrestricted campaign building on its own. See the [pricing page](https://ysleadgen.com/pricing/) for full details.

= I've never built a popup before. Is this easy to learn? =

Yes. Pick a template, then change the text, colors, and fields using the visual builder. No coding is needed. Most people publish their first popup in a few minutes.

= Will it slow down my website? =

No. YS LeadGen only loads popup code on pages where you have an active campaign. Pages without a campaign don't load that popup code, so your site stays fast.

= Can I design popups for mobile devices? =

Yes. Every campaign is fully responsive, and you can target mobile visitors specifically. Since phones have no mouse, mobile exit intent uses a fast scroll-up gesture or back-button tap instead.

= Does it integrate with WooCommerce and email marketing tools? =

Yes. YS LeadGen includes native WooCommerce cart and checkout triggers, plus direct integrations with Mailchimp, HubSpot, Brevo, Klaviyo, ActiveCampaign, MailerLite, Kit, GetResponse, AWeber, Drip, and Omnisend. Other services can be connected through Webhooks via Zapier or Make.

= Can I schedule popups or use countdown timers? =

Yes. You can add countdown timers to drive urgency and schedule campaigns to start and end automatically, even when you're offline.

= Is A/B testing included? =

Yes. You can compare two versions of a campaign to see which one converts better, right from the free plugin.

= Does it work with my page builder? =

Yes. YS LeadGen works with Elementor, Divi, Gutenberg, Bricks, Beaver Builder, and Oxygen with no style conflicts.

= Where is my subscriber data stored? =

Subscriber data is stored inside your own WordPress database, not sent to an outside company by default. You can export your list to CSV whenever you want.

= What payment options work inside a form? =

Stripe, PayPal, and Square are supported. You can set a fixed price or let visitors choose an amount, and test mode lets you try the setup before accepting live payments.

= Why should I choose this instead of other popup plugins? =

YS LeadGen focuses on giving you control over both your campaigns and your data. You can build popups, opt-in forms, exit intent campaigns, WooCommerce recovery campaigns, spin wheels, quizzes, and email integrations without relying on an external SaaS platform to manage your subscriber list. The free plugin covers all of this with no subscriber cap, and PRO is there as an optional, one-time upgrade if you want extra templates or automation later.

== Screenshots ==

1. Popup Performance Analytics Dashboard with Real-Time Views and Lead Tracking.
2. Popup Campaign Analytics with Conversion, Cart Recovery, and Coupon Performance.
3. Form Performance Analytics with Conversion Rates and Campaign Insights.
4. Centralized Lead Management Dashboard for Tracking Popup and Form Leads.
5. Pre-Built Popup and Form Template Library for Quick Campaign Creation.
6. Drag-and-Drop Popup Builder with Advanced Design and Customization Controls.
7. Advanced Popup Display Rules with Triggers, Targeting, and Timing Controls.
8. Detailed Campaign-Level Analytics with Conversion, Lead, and Performance Insights.

== Upgrade Notice ==

= 2.2.6 =
Includes smoother popup exit animations and success message transitions, updated slide-in and conversational UI, cart recovery trigger enhancements, and analytics performance optimizations.

= 2.2.2 =
Added new JSON-based campaign Import/Export functionality.

== Changelog ==

= 2.2.6 =
* Improved single-page popup form submission flow with smooth exit animation on template elements and seamless cross-fade to the success message.
* Enhanced slide-in popup layouts and updated Conversational Forms UI.
* Enhanced cart recovery email triggers and integrated checkout page display rules.
* Optimized analytics fetching to prevent duplicate network requests and improve performance.
* Fixed page view tracking and paragraph insertion targeting.

= 2.2.5 =
* Added new spin wheel templates.
* Improved geo-targeting, URL parameter handling, popup auto-close behavior, and WooCommerce coupon page rules.
* Fixed redundant activation calls in A/B testing, improved Klaviyo error handling and status reporting, and prevented concurrent migrations with a migration lock.
* Fixed form JSON handling and improved geo-targeting cookie handling with validation for country and city fields.
* Fixed non-negative condition handling, dynamic button actions, and responsive form template and CSS issues.

= 2.2.4 =
* Fix: Refactored Browser, OS, and Language targeting evaluation with legacy rule structure support across server and client-side controllers.
* Fix: Corrected display rule triggers for Scroll Delay, Link Clicks, and Onsite Retargeting managers.
* Fix: Sanitized Geo-Targeting state handling and enabled case-insensitive string evaluation in ConditionEvaluator.
* Fix: Resolved logical operator parsing and tree structure evaluation in PopupModel.
* Fix: Improved responsive layout and input field constraints for Floating Bar popups on mobile devices.
* Fix: Corrected Quiz Popup score text color contrast and alignment.
* Fix: Fixed Cart Total rule condition alignment in the Condition Tree Builder UI.
* Fix: Resolved mobile viewport scaling and layout issues for Spin-to-Win wheel templates.

= 2.2.3 =
* Added Conversational Forms feature for interactive lead generation.
* Added File Upload field support in the form builder.
* Implemented a robust conditional logic system for the form builder.
* Resolved popup rendering issues by correcting the engine boot sequence and display rules.

= 2.2.2 =
* Added JSON-based campaign Import and Export functionality for Popups and Forms.

= 2.2.1 =
* Stripe Payment integration inside form.
* Refactored Woocommerce features.

= 2.2.0 =
* Refactored the Rules section for a cleaner and more flexible campaign targeting workflow.
* Added SMTP support for form campaigns to improve email deliverability and notification reliability.

= 2.1.10 =
* Added Activity Logs for form campaigns — track submissions, validation, reCAPTCHA, integration syncs, and webhook results in a searchable timeline.
* Implemented CSV value and row escaping to prevent formula injection when exporting leads.
* Added MailerLite integration for lead management.
* Simplified product and category selection logic in WooCommerce display conditions.
* Added coupon apply mode selection and validation in WooCommerce Coupon popups.

= 2.1.9 =
* Added shareable preview links for campaigns.
* Added AI Insights (Premium).
* Added Kit (ConvertKit) integration.
* Improved onboarding wizard layout and responsiveness.

= 2.1.8 =
* Added Team Collaboration.
* Added White Label mode.
* Added ActiveCampaign integration.

= 2.1.7 =
* Added Age Verification campaigns.
* Added Cookie Consent Manager.
* Added Privacy Policy acceptance forms.
* Added Survey & NPS Forms.

= 2.1.6 =
* Added Brevo integration.
* Added Klaviyo integration.
* Added Video Popups.
* Added Social Proof campaigns.
* Added Content Locker.

= 2.1.5 =
* Added AI Headline Generator.
* Added AI CTA Generator.
* Added AI Template Recommendations.
* Added template filtering by category and industry.

= 2.1.4 =
* Added Dynamic Product Recommendations.
* Added Cookie-Based Targeting.

= 2.1.3 =
* Added GetResponse integration.
* Added Drip integration.
* Added Multi-Step Forms.
* Added Revenue Analytics.
* Added Inline Forms.
* Added Embedded Forms.
* Added WooCommerce revenue reporting.

= 2.1.2 =
* Added A/B Split Testing.
* Added Behavior-Based Targeting.
* Added Frequency Controls.
* Added Campaign Dismiss Tracking.

= 2.1.1 =
* Fixed dashboard loading issue on some hosting environments.
* Added page URL information to captured leads.

= 2.1.0 =
* Added Fullscreen campaigns.
* Added Slide-In campaigns.
* Added Spin-to-Win campaigns.
* Added Yes/No campaigns.
* Expanded template library.

= 2.0.0 =
* Major WooCommerce release.
* Added checkout campaigns.
* Added cart campaigns.
* Added product targeting.
* Added category targeting.
* Added coupon campaigns.

= 1.1.5 =
* Security improvements.
* Fixed an unauthenticated AJAX vulnerability.
* General stability improvements.

== Privacy ==

YS LeadGen runs entirely on your WordPress website.

The plugin does not collect personal information unless you configure forms or connect third-party services.

Depending on the integrations you enable, visitor information may be processed by third-party email marketing platforms or marketing services that you choose to connect.

You remain in full control of your website data, customer information, and marketing campaigns.

Review your website's privacy policy and applicable regulations to ensure compliance with local privacy laws.