I have my store connected through Hydrogen and even created my own cookie banner that passes consent to setTrackingConsent from customerPrivacy. In the console, I can see logs confirming that events are successfully sent to Shopify Analytics, but there is still no information about sessions in the Shopify Analytics Dashboard. What can I do to fix this?
Same problem. Have you found a solution?
Yes I found the answer, your checkout domain needs to be the same as your primary domain. I found this article helpful even that I’m not using their template https://weaverse.io/docs/deployment/hydrogen-domain-checkout-and-analytics-setup#setting-up-cookie-banner-and-analytics
- Add the PUBLIC_CHECKOUT_DOMAIN to your storefront’s environment variables. Set this variable to your checkout domain, such as www.yourdomain.com.