How to add Google Analytics to Shopify
Shopify connects Google Analytics 4 through its Google & YouTube sales channel, so there is no code to paste.[1][2] You need a Google account and a GA4 property; the channel is managed by Google.[1][2]
Start free. No card needed. Plans and limits are on the pricing page.
Before you start
- A Google account. The one you use for Gmail or Google Ads works.[1]
- A GA4 property with a web data stream. Create one, or move one you already have, and note its Tag ID.[1]
Step by step
- Open Google & YouTube. In your Shopify admin go to Sales channels › Google & YouTube. If the channel is not installed, you are asked to install it.[1][2]
- Start the GA4 setup. In the “Looking only to set up Google Analytics 4?” banner, press Get started.[2]
- Choose the property. Under Connect a Google Analytics property, pick one from the list, or press Create new and create one in Google Analytics.[2]
- Press Connect.[2]
You don’t have to connect Google Merchant Center for this.[1]
After it is connected
- Turn off private mode. Google Analytics can’t track until private mode is off for your online store.[1]
- Some shop actions are tracked for you. Shopify says certain ecommerce events are tracked automatically once GA4 is set up, and you can add others.[1]
- Link Google Ads if you run ads, to measure key events and build audiences.[1]
Where Convertlyft fits
GA4 tells you how many came and from where. Convertlyft’s Shopify app shows what they did: it adds the Convertlyft tag to your storefront through a switch in your theme, and tracks each checkout step and the order, so a visit can be followed to a purchase or to the step where it stopped. Nothing records until Shopify’s customer privacy setting allows analytics for that shopper. It runs beside the GA4 tag and does not change it.
Questions
Do I need Google Merchant Center to add Google Analytics to Shopify?
No. Shopify says you can set up Google Analytics without a Merchant Center account.[2]
Why is Google Analytics not tracking my Shopify store?
Check your store is not in private mode: Shopify says Google Analytics can’t track until you turn private mode off.[1]
Can I use a Google Analytics property I already have?
Yes. Select it from the list, which shows the properties where your Google account is an administrator, or move an existing property.[1][2]
Can I remove it later?
Yes: press Disconnect in the same section.[2]
Sources
- Shopify Help Center, “Setting up Google Analytics 4”, help.shopify.com/en/manual/reports-and-analytics/google-analytics/google-analytics-setup, checked 8 November 2026.
- Shopify Help Center, “Set up the Google & YouTube channel”, help.shopify.com/en/manual/online-sales-channels/google/getting-setup/connect, checked 8 November 2026.
Start on Pro, free for 14 days
Your new account gets 10,000 visits a month, no card needed. After 14 days it moves to Free, up to 5,000 visits a month with every feature, unless you choose Pro.