frontend/src/storefront/analytics/README.mdView on GitHub ↗
storefront/analytics
Consent-aware external analytics SDK integration without customer identities.
Each file starts with its responsibility. See the source inventory for the full map.
Modules
ShopAnalytics.tsx: Customer consent and real GA4 ecommerce events; absent apps produce no external script.
Verification
Run npm run build, npm test, npm run test:coverage and npm run architecture from frontend/. Coverage includes untested source files. See testing and limitations; file presence does not mean full test coverage.