3 Simple Steps to Connect Google Analytics 4 (GA4) to Shopify

By Irene LeJune 1, 20254 min read
3 Simple Steps to Connect Google Analytics 4 (GA4) to Shopify
  • In the bottom-left corner, click Admin.
  • Under the Account column, select your account (or click Create Account).
    Under the Property column, click Create Property.
  • Enter a name (like “MyShopifyStore GA4”), choose your reporting time zone and currency, then click Next → Create.
  • After creating the property, select Web as the platform.
  • Enter your store’s URL (e.g., https://www.yourstore.com) and give it a name (“Shopify GA4 Stream”).
  • Click Create stream.
  • On the Web stream details page, copy the Measurement ID (it looks like G-XXXXXXXXXX).
  • Keep this handy—you’ll paste it into Shopify in Step 2.
  1. Go to analytics.google.com and log in
  2. Click your GA4 property
  3. In the left sidebar, click Admin
  4. Under the Property column, click Data Streams
  5. Select your Web data stream
  6. Copy your Measurement ID (it starts with G-XXXXXXX)
  1. In Shopify Admin, go to Settings > Customer Events
  2. Click Google Analytics 4 under the “Custom Pixels” section
  1. Paste your Measurement ID
  2. Save the changes
  1. Use GA4’s Realtime Report
    • In GA4, click Realtime.
    • Visit your Shopify store in a new tab and navigate pages. You should see your activity appear instantly.
  2. Test an Order
    • Place a low-value test order on your store.
    • In GA4’s Engagement > Events report, look for the purchase event and verify the revenue matches your test order.

TrueProfit Shopify Profit Tracker

avatar
Irene Le

Content Manager at TrueProfit & eCommerce Marketing Specialist

Irene Le is the Content Manager at TrueProfit, specializing in crafting insightful, data-driven content to help eCommerce merchants scale profitably. With over 5 years of experience in content creation and growth strategy for the eCommerce industry, she is dedicated to producing high-value, actionable content that empowers merchants to make informed financial decisions.

Related BlogsSee All
Shopify SEO: Step-by-Step Guide to Rank Higher in 2025
eCommerce

Shopify SEO: Step-by-Step Guide to Rank Higher in 2025

6+ Best BeProfit Alternatives for Profit Tracking in 2025 (+Real Reviews)
eCommerce

6+ Best BeProfit Alternatives for Profit Tracking in 2025 (+Real Reviews)

Low Cost, High Profit Margin Products for eCommerce in 2025 
eCommerce

Low Cost, High Profit Margin Products for eCommerce in 2025