berrypod/test
jamey f91b47f0c3
All checks were successful
deploy / deploy (push) Successful in 1m37s
include browser/os/screen_size in e-commerce analytics events
Event call sites (product_view, add_to_cart, checkout_start, purchase)
were only passing visitor_hash and pathname, leaving browser, OS, screen
size and country nil. Add AnalyticsHook.attrs/1 helper to extract common
analytics fields from socket assigns, and use it in all LiveView event
call sites. Checkout controller reads the same fields from the session.

Also fix plug analytics test to clear stale events before assertions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:13:47 +00:00
..
berrypod add privacy-first analytics with progressive event collection 2026-02-22 12:50:55 +00:00
berrypod_web include browser/os/screen_size in e-commerce analytics events 2026-02-22 21:13:47 +00:00
fixtures feat: add image optimizer module 2026-01-21 22:16:21 +00:00
support add SQLite concurrency tests and bench task 2026-02-22 09:23:36 +00:00
test_helper.exs add SQLite concurrency tests and bench task 2026-02-22 09:23:36 +00:00