berrypod/assets
jamey 162a5bfe9a
All checks were successful
deploy / deploy (push) Successful in 1m13s
replace analytics double-count prevention with buffer supersede
The Plug records a pageview with a known ID (plug_ref) into the ETS
buffer. When JS connects, the LiveView hook supersedes that event by
ID and records its own with full data (screen_size from connect params).
If JS never connects, the Plug's event flushes normally after 10s.

Also fixes: admin browsing no longer leaks product_view events — the
Plug now sets no analytics session data for admins, so all downstream
visitor_hash guards naturally filter them out.

Replaces the previous time-based skip logic which was brittle and
race-prone. The supersede approach is deterministic and handles both
the ETS buffer and already-flushed DB cases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:48:50 +00:00
..
css add period comparison deltas to analytics stat cards 2026-02-23 01:01:25 +00:00
js replace analytics double-count prevention with buffer supersede 2026-02-23 14:48:50 +00:00
vendor remove Tailwind + DaisyUI theme + heroicons plugin, admin fully custom CSS (Phase 7) 2026-02-18 01:15:28 +00:00
tsconfig.json mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00