How-to · Shopify
Add Google Analytics to your Shopify site
How to connect Google Analytics 4 to your Shopify website, where the Measurement ID goes, and what to know about consent.
Steps checked against the platform’s own help pages on 27 October 2026. Menus move; if yours look different, tell us and we’ll update this page.
Shopify connects Google Analytics 4 through the free Google & YouTube app.
Steps
- In Shopify admin, search for Google & YouTube and install it.
- On the app’s Overview, find the Google Analytics 4 setup and click Get started.
- Connect your Google account, choose your GA4 property, click Connect, then Confirm.
Good to know
- The store can’t be password-protected while you set this up.
- You need at least Editor access to the Analytics property.
- The old Google Analytics field in Online Store preferences is no longer used.
Prefer something simpler or cookie-free? Compare options in Google Analytics vs Cloudflare vs Plausible vs Fathom, and track the five numbers that matter.
Add Google Analytics on other platforms
More how-tos for Shopify
Sources
Filed under Getting foundRunning your site
Next step
Not sure where your own business stands?
A two-minute check-up shows where you are losing time and customers, and what to fix first.




