=== Hey Glancy Analytics ===
Contributors: caravelalabs
Tags: analytics, heatmaps, session replay, woocommerce, funnels
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: MIT

Product analytics for WordPress with Hey Glancy: page views, heatmaps and session replays, plus sign-ups, WooCommerce orders and form submissions.

== Description ==

Connects your site to a Hey Glancy bucket.

In the browser (glancy.js, ~14 KB):

* Page views on every page
* Heatmaps (clicks and scroll depth) and session replays — optional, what people type is masked
* Clicks on links to other sites
* Logged-in users recognised, with their name and email (optional)
* No-code events: `<a data-glancy-event="Brochure Downloaded">`

From the server (not blocked by ad blockers):

* Signed Up, Signed In, Signed Out
* WooCommerce: Product Viewed, Product Added / Removed, Cart Viewed, Checkout Started, Order Completed (with revenue and products), Order Refunded
* Form Submitted — Contact Form 7, WPForms, Gravity Forms (which form, never the answers)
* Comment Posted

Administrators and editors aren't tracked by default.

== Installation ==

1. Upload the plugin (Plugins → Add New → Upload Plugin) and activate it.
2. Settings → Hey Glancy: paste your Hey Glancy URL and the bucket's write key (Hey Glancy → Setup).
3. Click "Send a test event" and look for "WordPress Connected" in Hey Glancy → Events.

== Custom events ==

From your theme or any script:

`glancy("track", "Newsletter Signed Up", { list: "weekly" });`

From PHP:

`glancy_track('Quote Requested', array('service' => 'design'));`

== Changelog ==

= 0.1.0 =
* First version.
