Step by step
- In your Shopify admin, add the Google & YouTube sales channel if you don’t have it.
- Open it and connect your Google account.
- In the Google Analytics section, select or create a GA4 property and click Connect.
- Make sure your store shows a cookie banner, so EU visitors can say yes.
- Open your store in a private window, accept cookies, and check Realtime in Google Analytics.
If you had an old Google tag
If you added Google Analytics some other way before, Shopify may have turned it into a custom pixel, which Shopify says can measure less well. Move it to the Google & YouTube channel and remove the old code, so visits aren’t counted twice.
What you will and won’t see
GA4 gets page views, add to cart, checkout and purchases from the channel. It only sees visitors who accept cookies, so purchases and visits in GA4 will be lower than in Shopify’s orders. For complete visit counts by source without a banner, see the best analytics for Shopify and the Okidoki Shopify guide.