=== Ikvala Pop Integrator ===
Contributors: ikvala
Tags: popup, leads, campaigns, notifications, crm
Requires at least: 5.8
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Convert visitors into loyal customers with popups, spin-to-win, countdown timers, lead capture, and CRM sync — all managed from WordPress.

== Description ==

**Ikvala Pop Integrator** connects your WordPress site to [Poptikvala](https://poptikvala.ikvala.com/) — a powerful popup and lead generation platform that helps you convert visitors into customers.

Manage all your popup campaigns, leads, notifications, email signatures, CRM connections, and statistics directly from your WordPress admin — no need to leave your site.

= Why Poptikvala? =

Most popup plugins slow down your site and offer limited features. Poptikvala is a full SaaS platform — your popups are served from our optimized cloud infrastructure, keeping your WordPress site fast while giving you enterprise-level features.

= Key Features =

**🎯 Popup Campaigns**
Create and manage high-converting popup campaigns directly from WordPress. Install your campaign pixel with one click — no copy-paste needed.

**🎰 Spin to Win**
Gamified popups that boost engagement and email signups. Visitors spin a wheel for discounts and prizes — proven to increase conversions by 3x.

**⏱ Countdown Timers**
Create urgency with countdown timers inside your popups. Drive immediate action and reduce cart abandonment.

**📋 Lead Capture Forms**
Capture visitor name, email, and phone number. All leads are stored and synced automatically.

**👥 Leads Management**
View, search, filter, and export all captured leads directly from WordPress. Filter by campaign, search by name or email, and download CSV exports.

**🔔 Smart Notifications**
Manage popup notifications per campaign. Enable or disable notifications with one click. See impressions and click stats per notification.

**✉️ Email Signatures**
Create professional email signatures for your team. Manage and toggle signatures directly from WordPress.

**🔗 CRM Connection**
Connect your CRM and auto-sync leads. Set up automatic lead sync so every new lead goes straight to your CRM — no manual work.

**📊 Statistics Dashboard**
View detailed performance stats — impressions, clicks, leads, and CTR per campaign. Filter by date range and campaign.

**🔑 One-Click API Connect**
Connect your Poptikvala account instantly with OAuth or enter your API key manually. Your data syncs automatically.

= Who is this for? =

* WordPress site owners who want to grow their email list
* WooCommerce store owners who want to reduce cart abandonment
* Bloggers and content creators who want to capture leads
* Agencies managing multiple WordPress sites

= Free Plan Available =

Get started for free at [poptikvala.ikvala.com](https://poptikvala.ikvala.com/). Free plan includes 1 campaign and up to 500 visitors per month. Upgrade anytime for unlimited campaigns and leads.

= Works With =

* All WordPress themes
* WooCommerce
* Elementor
* Divi
* Any page builder

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ikvala-pop-integrator` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **Ikvala Pop** in your WordPress admin menu.
4. Click **Settings** and enter your API key from [poptikvala.ikvala.com](https://poptikvala.ikvala.com/).
5. Or click **Connect Instantly (OAuth)** for one-click connection.
6. Go to **Campaigns** and click **Install Pixel** on your campaign to activate popups on your site.
7. That's it — your popups are now live!

== Frequently Asked Questions ==

= Do I need a Poptikvala account? =

Yes. You need a free or paid account at [poptikvala.ikvala.com](https://poptikvala.ikvala.com/). The free plan is available with no credit card required.

= Will this slow down my website? =

No. Poptikvala loads asynchronously and is served from our optimized cloud servers. Your WordPress site performance is not affected.

= Can this plugin inject pixels on my site? =

Yes. When you click Install Pixel on any campaign, the plugin automatically injects the Poptikvala pixel on your site frontend. This loads your popup campaigns for visitors.

= Where are my leads stored? =

All leads are stored securely on Poptikvala's servers and can be viewed, searched, filtered, and exported as CSV directly from your WordPress admin.

= Can I use this on multiple sites? =

Yes. Each site connects to your Poptikvala account using its own API key. You can manage campaigns for multiple sites from one Poptikvala account.

= Is there a free plan? =

Yes. Poptikvala offers a free plan with 1 campaign and up to 500 visitors per month. Visit [poptikvala.ikvala.com](https://poptikvala.ikvala.com/) to get started.

= What popup types are supported? =

Poptikvala supports standard popups, spin-to-win wheels, countdown timers, slide-ins, banners, fullscreen overlays, and lead capture forms.

= Does it work with WooCommerce? =

Yes. Poptikvala works on all WordPress pages including WooCommerce product pages, cart, and checkout pages.

== Screenshots ==

1. Dashboard — view campaigns, leads and statistics at a glance
2. Campaigns — manage your popup campaigns and install pixel with one click
3. Notifications — view and manage all notifications per campaign
4. Leads — view, search, filter and export all captured leads
5. Email Signatures — manage your team email signatures
6. CRM Connection — connect and auto-sync leads to your CRM
7. Statistics — detailed popup performance stats with date range filter

== External Services ==

This plugin connects to Poptikvala, an external SaaS service.

Service: https://poptikvala.ikvala.com
Purpose: Store and retrieve campaign, lead, notification, email signature, CRM, and statistics data. Also serves popup scripts on your site frontend.
Data sent: API key for authentication. Visitor data when popup pixel is active on frontend (IP address, browser, page URL).
When data is sent: When WordPress admin visits plugin pages, and when visitors load pages where the pixel is installed.

Terms of Service: https://poptikvala.ikvala.com/page/terms-and-conditions
Privacy Policy: https://poptikvala.ikvala.com/page/privacy-policy
Refund Policy: https://poptikvala.ikvala.com/page/refund-policy
Contact: https://poptikvala.ikvala.com/page/about-contact

== Changelog ==

= 1.0.1 =
Fixed OAuth email mismatch handling so the plugin rejects the wrong Poptikvala account, clears saved connection data, and surfaces the mismatch correctly.

= 1.0.0 =
* Initial release
* Dashboard with stats overview
* Campaigns management with one-click pixel install
* Notifications management with enable/disable toggle
* Leads management with search, filter and CSV export
* Email Signatures management
* CRM Connection with auto-sync
* Statistics with date range and campaign filter
* OAuth and API key authentication
* Two user roles: User and Super Admin
 
