=== CoreTech PopupMint ===
Contributors: ziakhan707
Tags: popup, whatsapp, call button, ga4, static popup
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight static image popup with call and WhatsApp buttons, built-in local analytics, and optional GA4 or GTM event tracking.

== Description ==

CoreTech PopupMint is intentionally simple. The free edition creates one static image popup with call and WhatsApp action buttons.

It does not include sliders, journeys, forms, targeting rules, advanced layouts, licensing, remote services, or bundled third-party tracking scripts.

= Free features =

* One static image popup.
* Call button.
* WhatsApp button.
* Option to show call, WhatsApp, or both.
* Optional GA4 gtag event tracking.
* Optional GTM dataLayer event tracking.
* Separate default event names: `cpt_popup_call` and `cpt_popup_whatsapp`.
* Built-in dashboard analytics for impressions, CTA clicks, close clicks, call clicks, and WhatsApp clicks.
* Date filters for today, yesterday, last 7 days, last 30 days, this month, and all time.
* Session-only dismissal memory using browser sessionStorage.
* No external scripts loaded by the plugin.

= Pro version =

For advanced popup journeys, sliders, lead capture, targeting, analytics, and commercial features, visit:
https://coreplugin.tech/plugins-bundle/

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install the ZIP through Plugins > Add New > Upload Plugin.
2. Activate CoreTech PopupMint.
3. Open CoreTech PopupMint from the WordPress admin sidebar.
4. Add one popup image, choose call and/or WhatsApp actions, then enable the popup.

== Frequently Asked Questions ==

= Does the plugin load Google Analytics or Google Tag Manager? =

No. The plugin does not load Google scripts. If tracking is enabled, it only sends an event to an existing `gtag` function or pushes an event to an existing `dataLayer`, depending on the mode selected by the site admin.

= Can call and WhatsApp events duplicate each other? =

No. The call button sends only the call event, and the WhatsApp button sends only the WhatsApp event. A short click lock prevents accidental duplicate firing from the same button activation.

= What are the default event names? =

The default call event is `cpt_popup_call`.
The default WhatsApp event is `cpt_popup_whatsapp`.

= What analytics does the plugin store? =

The plugin stores aggregate daily counts only: impressions, CTA clicks, close clicks, call clicks, and WhatsApp clicks. It does not store IP addresses, user agents, names, phone numbers, emails, or lead data.

= Is this a slider popup plugin? =

No. The free version is limited to one static image popup. Slider popups and advanced behavior are planned for the Pro product.

== Privacy ==

CoreTech PopupMint stores plugin settings and aggregate daily analytics counts in the WordPress database.

On the frontend, the plugin uses browser sessionStorage only to remember that a visitor closed the popup during the current browser session. This data stays in the visitor's browser and is not sent to this plugin author.

The plugin does not collect personal data by itself, does not create leads, does not call a remote API, does not load third-party tracking scripts, and does not phone home.

The built-in dashboard analytics store local aggregate counts only for impressions, CTA clicks, close clicks, call clicks, and WhatsApp clicks. The plugin does not store IP addresses, user agents, names, phone numbers, emails, or lead data.

For best privacy, site owners should choose popup images from the WordPress Media Library. If a site owner enters an externally hosted image URL, the visitor browser will request that image from the external host.

If the site admin enables GA4 gtag or GTM dataLayer tracking, button clicks are sent to the analytics setup already installed on the site. Site owners are responsible for disclosing their analytics usage and obtaining consent where required by law.

== Changelog ==

= 1.0.0 =
* Initial free release with one static popup, call and WhatsApp CTAs, optional GA4/GTM events, and local aggregate analytics.
