🌐
Shopify Help Center
help.shopify.com › en › manual › reports-and-analytics › google-analytics › google-analytics-setup
Shopify Help Center | Setting up Google Analytics 4
To activate Google Analytics 4, either create a new Google Analytics 4 property to add to your Shopify store, or move an existing property that you previously created. After you have your property, you need to create a web data stream. Make a note of the Tag ID because you'll use it in Step 3.
🌐
Shopify
shopify.dev › docs › apps › launch › marketing › track-listing-traffic
Track your listing traffic
Click Create listing or Manage listing, and then click the listing that you want to edit. In the Tracking information section, next to Google analytics code (optional), enter your GA4 measurement ID.
People also ask

Can you use Google Analytics on Shopify?
Yes, you can integrate Google Analytics with Shopify to track customer behavior, analyze traffic, and optimize conversions.
🌐
analytify.io
analytify.io › home › how to setup google analytics for shopify (4 methods)
How to Setup Google Analytics for Shopify (4 Methods) - Analytify
How do you connect Google Analytics to Shopify?
To connect, get your GA4 Measurement ID, paste it into the Google Analytics section of your Shopify admin, and ensure enhanced eCommerce tracking is enabled.
🌐
analytify.io
analytify.io › home › how to setup google analytics for shopify (4 methods)
How to Setup Google Analytics for Shopify (4 Methods) - Analytify
How to setup Google Analytics 4 for Shopify?
Log into Shopify and navigate to Online Store > Themes > Actions > Edit Code.
Insert the GA4 tracking script with your Measurement ID in the section of your theme’s code.
Alternatively, you can use Google Tag Manager to manage your GA4 tags efficiently.
🌐
analytify.io
analytify.io › home › how to setup google analytics for shopify (4 methods)
How to Setup Google Analytics for Shopify (4 Methods) - Analytify
🌐
Google Support
support.google.com › analytics › answer › 12183125
Shopify: Set up your Google tag - Analytics Help
For Floodlight, enter the DC-CONFIG_ID/ACTIVITY_GROUP_TAG_STRING/ACTIVITY_TAG_STRING+COUNTING_METHOD string found in your Google tag event snippet for tagging. Select Save for each Shopify event you want to manage.
🌐
Analytify
analytify.io › home › how to setup google analytics for shopify (4 methods)
How to Setup Google Analytics for Shopify (4 Methods) - Analytify
April 21, 2025 - Select Google Analytics >>Google tag. ... Find your Measurement ID in your GA4 account under Admin >> Data Streams>> Web >> Measurement ID. Copy and paste this ID into the Tag Configuration.
🌐
Shopify Community
community.shopify.com › technical q&a
Where can I add a Google Analytics tracking ID on my page? - #2 ...
March 12, 2022 - Hi, @Aia09 ! We have a guide on setting up Google Analytics for your Shopify store here. You’ll find the section to add your code from Google under Settings > Apps and sales channels, but the full steps to follow are listed in the guide. Are you currently working on setting up your online store, or has it already launched to the public?
🌐
Instant
instant.so › blog › understanding-the-shopify-google-analytics-integration
Understanding the Shopify Google Analytics integration | Instant
From your Account home, go to "Admin", select "Account" from the dropdown, then pick the right property and retrieve your tracking ID. Next, on your Shopify administration dashboard, head to the "Online Store" settings.
🌐
HulkApps
hulkapps.com › home › shopify hub › how to add google tracking code to shopify: a step-by-step guide
How to Add Google Tracking Code to Shopify: A Step-by-Step Guide
April 4, 2024 - Input Your GA4 Measurement ID: Here, you'll find a section dedicated to Google Analytics. Paste your GA4 'Measurement ID' (it begins with 'G-'). Save your changes, and voila, GA4 starts tracking your store's performance.
🌐
Shopify Community
community.shopify.com › technical q&a
Where can I add a Google Analytics tracking ID on my page? - Technical Q&A - Shopify Community
March 18, 2022 - I am trying to add a Google tracking id for ads on my page and I cannot find where to put it. Does anybody know?
Find elsewhere
🌐
MarketLytics
marketlytics.com › home › blog › how to add google analytics to shopify in two minutes
How to Add Google Analytics to Shopify in Two Minutes - MarketLytics
May 26, 2023 - Step 3: On the very first visit to your analytics account you will land on your website tracking info section. Here you will see the tracking id and the script you need to put in your Shopify online store.
🌐
White Peak Digital
whitepeakdigital.com › blog › how-to-add-google-analytics-to-shopify
How to Add Google Analytics to Shopify | White Peak Digital
May 26, 2023 - Log in to your Shopify account. From your admin page, click through to Sales channels, then Online Store, before finally going to Preferences. You will see a Google Analytics section with a blank box.
🌐
Appstoreanalytics
appstoreanalytics.io › post › track-your-shopify-app-listing-using-google-analytics
How to track your Shopify app listing using Google Analytics
In your Shopify Partner Admin, edit the app listing of the app you want to track. Push Tracking information. Paste the Measurement ID you copied into the Google Analytics code Tracking ID field.
🌐
PageFly
pagefly.io › blogs › shopify › shopify-google-analytics-conversion-tracking
Shopify Google Analytics: How to Set Up For Conversion Tracking
September 29, 2024 - Log in to your Shopify admin dashboard. Navigate to Online Store > Preferences. Scroll down to the Google Analytics section. ... Paste your Google Analytics Tracking ID (starting with “G-”) into the provided field.
🌐
Shopify Help Center
help.shopify.com › en › manual › reports-and-analytics › google-analytics
Shopify Help Center | Google Analytics
If the questions you have about your store's performance can't be answered with the data available in Shopify's analytics, then you can use Google Analytics. Google Analytics lets you track visitors, sessions, and other customer behavior on your store.
🌐
Google Support
support.google.com › google-ads › thread › 90608404 › how-do-i-add-google-ad-tracking-id-to-shopify-site
How do I add Google Ad tracking ID to Shopify site - Google Ads Community
Skip to main content · Google Ads Help · Sign in · Google Help · Help Center · Campaigns · Explore features · Optimize performance · Account & billing · Fix issues
🌐
Identix Web
identixweb.com › home › how to add google analytics to shopify
How to Add Google Analytics to Shopify Store
September 3, 2021 - Add all the information and get the Google Analytics tracking id. Copy that tracking ID. Open your Shopify admin and go to Online store > Preferences.
🌐
Shopify Help Center
help.shopify.com › en › manual › promoting-marketing › analyze-marketing › tracking-adwords-conversions
Shopify Help Center | Google & YouTube
The Google & YouTube channel automatically syncs your products and relevant information about your Shopify store with the Google Merchant Center. You can then update your Google product listings directly from your Shopify admin.
🌐
Quora
quora.com › Where-do-you-add-Google-Analytics-tracking-code-in-Shopify
Where do you add Google Analytics tracking code in Shopify? - Quora
Answer: You can add google Analytics tracking code in shopify: Login to the shopify admin. Open the online section. Click on the Themes. Click on Action and select Edit Code from dropdown.
🌐
GemPages
gempages.net › blog › google ads conversion tracking for shopify [2025]
Google Ads Conversion Tracking for Shopify [2025] – GemPages
Now, click on that hyperlink for your conversion event — “Google Ads to Shopify Purchase” — under Goals > Summary. In the Details section, you’ll find a “Tag setup” option. Click on the down arrow to expand it. Then, select the last block with the title: “Use Google Tag Manager” and you’ll find two key information: 1. Conversion ID, 2.
🌐
Reddit
reddit.com › r/ppc › shopify checkout extensibility - google ads conversion tracking code
r/PPC on Reddit: Shopify Checkout Extensibility - Google Ads Conversion Tracking Code
April 9, 2024 -

Shopify's Checkout Extensibility isn't mandatory until August 2025 but you can get your Google Ads conversion tracking set up now. I had a meeting with the Google Tag Team because I had a client prematurely upgrade their account and didn't tell me, severing the purchase conversion action that is the primary optimization source for the account.

Below is the code they gave me to replace it, insert it in Shopify under Settings > Customer Events. Create a custom pixel, swap out CONVERSIONID (leave the AW- prefix) and CONVERSIONLABEL in the code below with the data for your conversion action. When you're done, hit "save" in the top right corner, then click "connect." Also make sure to remove the previous conversion tracking code under Checkout > Additional Scripts if that's what you're currently using.

This is only set up to fire on a purchase completion, but it works for me and passes dynamic revenue + enhanced conversion parameters.

//gtag starts here
const script = document.createElement('script');
script.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=AW-CONVERSIONID');
script.setAttribute('async', '');
document.head.appendChild(script);

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-CONVERSIONID');
//gtag ends here

//ec + purchase code starts here
analytics.subscribe("checkout_completed", (event) => {
  gtag('set', 'user_data', {
    "email": event.data.checkout.email,
    "phone_number": event.data.checkout.phone
  });
  gtag('event', 'conversion', {
    'send_to': 'AW-CONVERSIONID/CONVERSIONLABEL',
    'value': event.data.checkout.totalPrice.amount,
    'transaction_id': event.data.checkout.order.id,
    'currency': event.data.checkout.currencyCode
  });
});