Comprehensive form testing scenarios for tracking script development
Purpose: Test different methods of sending ecommerce data to the ListenLayer SDK. Each store is a fully functional mock ecommerce site with the same products, cart, and checkout flow.
How it works: The base store emits custom events (store:view_item, store:add_to_cart, etc.). Each variant adds a tracking.js that listens for these events and translates them to the appropriate tracking format.
Events covered: All 13 GA4 ecommerce events including promotions, product views, cart actions, checkout steps, purchase, and refund.
The foundation store with no tracking implementation. Emits custom store:* events that tracking layers consume.
Uses ListenLayer SDK ecommerce methods with GA4-style field names (transaction_id, item_id, price).
Uses ListenLayer SDK ecommerce methods with native field names (order_id, sku, unit_price).
Uses standard Google Analytics gtag() calls. ListenLayer SDK intercepts these automatically.
Uses GTM-style dataLayer.push() with GA4 ecommerce format. ListenLayer SDK intercepts these.