1 Commits
Author SHA1 Message Date
Eric FennisandClaude Opus 5.5 a37879544c chore(docs|site): Remove Plausible, add tracking events and privacy statement (#5092)
* feat(docs): track homepage, icons page and icon drawer interactions with OpenPanel

Adds track/trackDebounced helpers around the shared OpenPanel instance and
sends events for hero actions, home search, packages, the style customizers,
homepage scroll depth, icon search (start, queries, no results), sort,
Lab library toggle, and the drawer's See in action, copy and studio buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GcWdCmSmcDiiAazR5mNUD

* feat(docs): send homepage scroll depth once on page leave

Instead of one event per milestone, record the deepest scroll position and
send a single home_scroll_depth event (percent + milestone) when the visitor
navigates away, closes the tab, or hides it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GcWdCmSmcDiiAazR5mNUD

* feat(docs): simplify scroll depth tracking to the position on page leave

Drop the max-depth composable and send a single scroll_depth event with the
current scroll percentage before a route change and on visibilitychange,
pagehide and beforeunload, for every page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GcWdCmSmcDiiAazR5mNUD

* refactor(docs): move scroll depth tracking into the OpenPanel utils

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GcWdCmSmcDiiAazR5mNUD

* refactor(docs): move router and browser tracking setup into the OpenPanel utils

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GcWdCmSmcDiiAazR5mNUD

* Add privacy-policy

* adjust text

* Remove plausible

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-28 08:49:32 +01:00