=== AI Popups Connector for Leadfication ===
Contributors: armandoeporter
Tags: popup, lead generation, notifications, marketing, conversion
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to Leadfication and start showing AI-powered popups in minutes — no code required.

== Description ==

**AI Popups Connector for Leadfication** is the official WordPress plugin to connect your site to [Leadfication](https://leadfication.com) — a service that delivers AI-powered popups for lead generation, announcements, and conversion optimization.

**Why use this plugin?**

* **Zero code** — paste your Publisher ID and Website ID, and you're done
* **Automatic setup** — the tracking snippet is injected on every front-end page
* **Lightweight** — loads only when configured, with no impact on admin pages
* **Secure** — nonce verification, capability checks, and sanitized inputs
* **Clean UI** — a dedicated settings page under Settings → Leadfication

Once connected, your Leadfication popups appear automatically on your site. Create and manage popups from your Leadfication account — this plugin handles the WordPress integration.

Developed by Leadfication.

== Screenshots ==

1. Settings page — enter your Publisher ID and Website ID to connect your site.
2. Connected state — your site is linked and popups are active.

== Installation ==

1. Upload the `ai-popups-connector-for-leadfication` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Settings → Leadfication**.
4. Enter your **Publisher ID** and **Website ID** from your Leadfication dashboard under Install Code.
5. Click **Save Settings**.

Your site is now connected and popups will start appearing automatically.

== Frequently Asked Questions ==

= Where do I find my Publisher ID and Website ID? =

Log in at [Leadfication](https://leadfication.com) and go to **Install Code** in your dashboard. Both IDs are displayed there.

= Will my settings be deleted if I deactivate the plugin? =

No. Your Publisher ID and Website ID are kept in the database when you deactivate the plugin. They are only removed when you delete (uninstall) the plugin.

= Do I need to edit my theme files? =

No. The plugin automatically loads the Leadfication script on every front-end page once both IDs are saved.

== External services ==

This plugin connects to external services operated by Leadfication. By using this plugin, data may be sent to these services as described below.

= Leadfication CDN (cdn.leadfication.com) =

This service is used to load the Leadfication application script and the plugin logo on the settings page.

When a visitor loads any page on your site and the plugin is configured, the plugin loads `app.min.js` from the Leadfication CDN. The script receives your Publisher ID and Website ID to initialize popups on your site. Visitor interaction data (such as page views and popup engagement) may be collected by Leadfication according to their policies.

The logo image is loaded from the CDN only on the plugin settings page in the WordPress admin.

This service is provided by Leadfication: [Terms of Service](https://leadfication.com/en/terms-of-service), [Privacy Policy](https://leadfication.com/en/privacy-policy).

== Changelog ==

= 1.0.7 =
* Added plugin banner, icon, and screenshots for the WordPress.org listing page.
* Improved readme description and documentation.

= 1.0.6 =
* Removed Plugin URI to comply with WordPress.org requirement that Plugin URI and Author URI must differ.

= 1.0.5 =
* Changed Plugin URI to https://leadfication.com.
* Removed dashboard.leadfication.com links until that URL is publicly accessible.

= 1.0.4 =
* Fixed translators comment placement for Plugin Check compliance.

= 1.0.3 =
* Fixed Plugin URI and Author URI to use distinct values.

= 1.0.2 =
* Updated plugin metadata and ownership verification for WordPress.org submission.

= 1.0.1 =
* Renamed plugin for WordPress.org compliance.
* Documented external services.
* Improved script loading and limited admin notices.

= 1.0.0 =
* Initial release.
