Articles on: AB : Google Analytics

Getting Started : Connect your Shopify store to Google Analytics

Step 1. Get your Measurement ID


  1. Open Google Analytics
  2. Go to Admin (gear icon)
  3. Under Property, click Data streams
  4. Open your Web stream (or create one for your store URL)
  5. Copy the Measurement ID — it starts with G- (example: G-XXXXXXXXX)




Step 2. Save your Measurement ID in the app


  1. Open AB: Google Analytics in Shopify Admin
  2. Expand Paste your Measurement ID
  3. Paste your ID in the field (G-XXXXXXXXXX)
  4. Click Save & Continue


The ID must start with G- followed by letters and numbers.



Step 3. Enable the Theme Extension


  1. In the app, go to Install Theme Extension
  2. Click Install Theme Extension (opens the theme editor)
  3. Turn on the app embed for AB: Google Analytics
  4. Click Save in the theme editor
  5. Return to the app and click Check Status until it shows Active







You're live


When all steps are complete, Google Analytics tracks visitors on your storefront.

View reports in Google Analytics — not inside the Shopify app.


Optional next step


Enable Custom events (add to cart, purchase, search, etc.) for deeper GA4 reporting.

See: How to enable custom events tracking


Need help?


Open the chat in AB: Google Analytics or reply to our support email.


Updated on: 07/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!