Skip to content

Free shipping over ¥22,000

NOVA
NOVA

Section H

Analytics & consent

ShopifyScripts creates the analytics bus at window.Shopify.analytics. Routes publish view events and useCartAnalytics() publishes cart deltas. A custom consent banner syncs choices to Customer Privacy. Destinations receive nothing until consent allows it, and buffered events then replay.

Page, product, cart & checkout events

Live log from a destination registered with addDestination(). Navigate the store in another tab or use the buttons, then watch events arrive.

Real Hydrogen
Hydrogen API
ShopifyScriptsAnalyticsEventuseCartAnalyticsStorefrontAnalytics.addDestination
Data
Real bus (Shopify delivery disabled in demo)
Docs
.claude/skills/hydrogen-analytics/SKILL.md
Consent: not chosen · sync: waiting · analyticsProcessingAllowed: …

Declining stops delivery: the bus clears its buffer and the inspector receives nothing until you accept. Add something to the bag to see cart delta events from useCartAnalytics().

  • No events delivered yet.
Next · IShop Pay

Your bag

Popular

Browse

Loading…
Demo mode