extensions/apps/google-analytics/storefront/README.mdView source ↗
English source · 1 min
Google Analytics storefront bridge
ShopAnalytics.tsx owns consent-bound GA4 ecommerce events and calls the shared
analytics SDK. The standard storefront imports this app-owned bridge; installation
does not copy its files into host source folders. An absent/disabled app or missing
purpose consent loads no external analytics script. Unit/browser fixtures remain
in the host integration suites because they test catalogue, checkout and consent
across their shared API boundary.
Private sandbox and channel-preview journeys do not even request live tracking configuration. Existing server-side admission remains authoritative; browser test orders never become provider analytics events.