how to setup AB : Google Analytics App ?
Open the Google Analytics app Copy your Measurement ID from the Google Analytics site https://analytics.google.com/analytics/web/ Paste the Measurement ID in that specific column Click on the "Update Measurement ID" button Click on the Install Theme Extension button  Scroll to Measurement Protocol API secrets Click Create Enter a nickname (example: Shopify App) Click Create Copy the Secret value (shown once — savFew readersHow to find your GA4 Measurement ID
Your Measurement ID connects your Shopify store to Google Analytics 4. It always starts with G-. Steps Go to analytics.google.com and sign in Click Admin (bottom-left gear) In the Property column, click Data streams Click your Web data stream No stream yet? Click Add stream → Web, enter your store URL, then create it At the top right, copy Measurement ID (format: G-XXXXXXXXXX)  Under Property, click Data streams Open your Web stream (or create one for your store URL) Copy the Measurement ID — it starts with G- (example: G-XXXXXXXXX) Step 2. Save your Measurement ID in the app Open AB: Google Analytics in ShoFew readersHow to install the Theme Extension (App Embed)
The theme extension loads Google Analytics on your storefront. Without it, tracking will not work. Prerequisites Your Measurement ID is saved in the app first Steps Open AB: Google Analytics in Shopify Admin Go to Install Theme Extension (Step 3) Click Install Theme Extension Shopify opens the theme editor In the left sidebar, find App embeds Turn ON the embed for AB: Google Analytics (or Google Analytics) Click Save (top rFew readersHow to enable custom events tracking
Custom events send shopper actions to GA4: product views, search, add to cart, checkout, and purchase. Prerequisites Measurement ID saved in the app Theme Extension active GA4 API Secret How to get your GA4 API Secret Go to analytics.google.com Click Admin Under Property, click Data streams Open your Web stream (same one as your Measurement ID) Scroll to Measurement Protocol API secrets Click **CFew readersHow to view your store analytics (page views & traffic)
AB: Google Analytics connects your store to GA4. Reports and numbers are viewed in Google Analytics, not inside the Shopify app. First — make sure tracking is on Measurement ID saved in the app Theme Extension Active Visit your live storefront once (to generate a test visit) View page views & top pages Go to analytics.google.com Select the correct GA4 property Open Reports → Engagement → Pages and screens HereFew readersTroubleshooting: Tracking not working
Use this checklist if you see no data in Google Analytics. Checklist 1. Measurement ID saved? Open AB: Google Analytics Confirm your ID is saved (format G-...) Re-save if you recently changed GA4 properties 2. Theme Extension active? In the app, Theme Extension must show Active Open theme editor → App embeds → ensure AB: Google Analytics is ON Click Save in the theme editor 3. Correct GA4 property? In [analytics.google.com](https://anFew readersHow to track UTM parameters
UTM tags tell GA4 where your traffic came from (Facebook, email, Google Ads, etc.). Once AB: Google Analytics is set up, UTMs on your links are captured automatically by GA4. Step 1 — Finish app setup Save your Measurement ID Enable the Theme Extension (Optional) Enable Custom events for ecommerce actions Step 2 — Add UTM tags to your links Add parameters to your campaign URLs: https://yourstore.com/products/example?utm_source=facebook&utm_medium=cpc&utm_campFew readers