=== AddonLogic Click Logger ===
Contributors: snehalpancholi
Tags: heatmap, click tracking, analytics, visitor behaviour, UX
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Records visitor click coordinates per page and renders a dot-density heatmap in the admin. No external service required.

== Description ==

AddonLogic Click Logger captures every visitor click as percentage-based X/Y coordinates and stores them in a lightweight custom table. The admin Heatmap screen renders all recorded dots as an SVG overlay on a 16:9 reference canvas, giving you a quick visual sense of where visitors click most.

**Features**

* Tracks click X/Y as viewport percentages — resolution-independent
* Per-page dot-density SVG heatmap in the admin
* Configurable dot colour, opacity, and radius
* Optional throttle to reduce AJAX noise
* Configurable data retention with one-click purge
* No third-party services, no cookies

== Installation ==

1. Upload `click-logger` to `/wp-content/plugins/`.
2. Activate through the **Plugins** menu.
3. Visit **Click Logger → Settings** to enable tracking.
4. After visits are recorded, view **Click Logger → Heatmap** and select a page.

== Changelog ==

= 1.0.0 =
* Initial release.

== Frequently Asked Questions ==

= Does tracking fire for admin users? =
No. The tracker script is only enqueued on non-admin pages (`is_admin()` is false), so logged-in admin users browsing the front end will still be tracked. To exclude admins, add a `current_user_can('manage_options')` check to `addlc_clg_enqueue()`.
