=== AHEADARC Measure ===
Tags: analytics, dataLayer, consent
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Consent-aware events for a site-owned dataLayer. Stores no visitor personal data.

== Description ==

The plugin emits a small allowlist of events only after the configured consent source reports permission for statistics measurement. Runtime configuration is exposed as `window.AHEADARC_MEASURE`.
It does not send data to a vendor endpoint and does not store visitor personal data in WordPress.

The default state is disabled. An administrator must enable listeners and select a consent source.

== Event attributes ==

* data-sm-event="cta_click" on an interactive element
* data-sm-measure on a form
* data-sm-event="view_section" on a section
* data-sm-id and data-sm-context accept only short machine-readable tokens

Form values, link URLs, visible text, email addresses, and query strings are never copied to the dataLayer by the plugin.

== Installation ==

1. Upload and activate the plugin.
2. Open Settings > AHEADARC Measure.
3. Select the consent source and enable listeners.
4. Use a tag manager preview to inspect emitted events before publishing.

== Compatibility ==

Requires WordPress 6.9 or later and PHP 8.1 or later. Validate consent signals and event mappings in staging before production use.

== License ==

GPL-2.0-or-later. See LICENSE.
