#1 TikTok Ads Spy Tool

A Better Way to Make TikTok Ads Dropshipping & TikTok For Business

  • Find TikTok winning products & TikTok dropshipping ads.
  • Analyze TikTok advertisers
  • Get the Latest TikTok Shop Data.
Try It Free

how to add google tracking on shopify

Published on: July 6 2023 by pipiads

Tracking Revenue in Google Analytics 4 for Your Shopify Store

In this video, you will learn how to track revenue from your Shopify store in Google Analytics 4. The process used to be difficult or even impossible, but this guide will show you how to do it step by step. You will also learn how to set up conversion tracking in your Google Ads account.

Important Notes:

- Shopify does not have a direct integration with Google Analytics 4.

- Google Tag Manager will be used to track revenue.

- Even if you have Google Tag Manager set up, watch the video for potential changes needed to track revenue.


1. Create a Google Tag Manager account and name your website and container.

2. Deploy Google Analytics 4 through Google Tag Manager by creating a new tag and copying the stream ID from Google Analytics 4.

3. Make sure Google Tag Manager is firing on your Shopify store by pasting the head and body tags into the theme liquid.

4. Build the event to track revenue by creating a new tag and selecting the GA4 event tag.

5. Add a custom trigger with the code provided in the video.

6. Preview and submit the changes in Google Tag Manager.

7. Test a purchase and wait for revenue data to show up in Google Analytics 4.

8. Import the transaction data into your Google Ads account for conversion tracking.

Tracking revenue from your Shopify store in Google Analytics 4 can be done through Google Tag Manager. The process may seem daunting, but by following the steps in this video, you will be able to track revenue and set up conversion tracking in your Google Ads account. Keep in mind that Shopify may release a direct integration with Google Analytics 4 in the future, but this method is future proof and can be used regardless.

Google Ads Conversion Tracking On Shopify [The Right Way]

In this video, the speaker discusses two separate ways to set up Shopify conversion tracking for Google Ads: directly through Google Ads and through Google Analytics. The benefits and drawbacks of each method are explained, and step-by-step instructions are provided for both.

Importance of Setting Up Conversion Tracking:

- Conversion tracking allows for optimization of campaigns

- Shows return on ad spend and which campaigns are most profitable

Directly Through Google Ads:

- Click on Tools and Settings and then Conversions

- Create a new conversion with the category Purchase

- Use the global site tag provided by Google Ads and paste it into the theme liquid code in Shopify

- Copy and paste the event snippet into the order confirmation page in Shopify

- Add the transaction ID and replace the value to track conversion value dynamically

Through Google Analytics:

- Connect Google Analytics account to Shopify

- Enable enhanced ecommerce reporting in Shopify

- Import transaction data from Google Analytics to Google Ads

- Pros: streamlined process, more reporting options in Google Analytics

- Cons: does not support Google Analytics 4

Overall, setting up conversion tracking is essential for optimizing Google Ads campaigns and maximizing return on ad spend. The preferred method may vary based on individual needs and preferences.

How to Setup Google Analytics on Shopify | Google Analytics 4 Update (Beginners Guide)

Google has recently released Google Analytics for Shopify, which allows you to measure and record both website and visitor behavior on your Shopify store. In this beginner's tutorial, we will walk you through the relatively straightforward process of setting up Google Analytics on your Shopify store.

Step-by-Step Guide:

1. Sign up for Google Analytics: Head over to analytics.google.com and sign up for free.

2. Set up an account: Add your account name, navigate down to the bottom, and click next.

3. Set up a property: Navigate to create a Google Analytics 4 property, name the property, select your reporting time zone and currency, and click next.

4. Fill out basic business information: Come down to industry category, select food and drink, select small for the size of your business, and select how you intend to use Google Analytics with your business.

5. Set up a data stream: Navigate over to web, retrieve your website URL, and paste it in the website URL section. Name the stream and click create stream.

6. Install the piece of code on your Shopify store: Head over to online store, duplicate your current theme, navigate to edit code, click theme.liquid, paste the code from Google Analytics, and click save.

7. Confirm connection: Navigate back to Google Analytics and view your live website to ensure that the connection is correct.

Setting up Google Analytics on your Shopify store is a relatively straightforward process that allows you to measure and record both website and visitor behavior. By following this beginner's tutorial, you can easily set up Google Analytics on your Shopify store and stay updated with actionable videos and tutorials designed to grow your small business online.

How To Setup Google Ads Conversion Tracking For Shopify

- Importance of tracking conversions and conversion value for Shopify stores running Google Ads campaigns

Steps to track conversions and conversion value:

1. Implement Google Tag Manager and custom data layer in Shopify

- Go to Online Store and select Actions for the theme, then choose Edit Code

- Select the theme dot liquid file where the Google Tag Manager container is added

- Go to Settings, then Checkout and Accounts, and scroll down to the Order Status Page section to see the custom data layer and Google Tag Manager container code

- In-depth tutorial for adding Google Tag Manager to Shopify store provided in the video description

2. Use Google Tag Manager to capture ecommerce details automatically

- Go to Google Tag Manager and select Tags

- Use the GA4 ecommerce tag with the Send Ecommerce Data option to automatically send available ecommerce information to GA4

- Create new variables in Google Tag Manager to capture ecommerce value, transaction ID, and currency if they don't already exist

3. Create Google Ads conversion tag in Google Tag Manager

- Select Tag Configuration and choose Google Ads Conversion Tracking

- Create Google Ads Conversion Linker tag to ensure details about clicks from Google Ads campaigns are stored in first-party cookies

- Enter Conversion ID and Conversion Label from Google Ads under Conversion Tracking

- Use variables created earlier to fill in Conversion Value, Transaction ID, and Currency Code

- Create new trigger for purchases using Custom Event trigger type and purchase as the Event Name

- Save and publish the tag, trigger, and variables to live website

- Google Tag Manager and custom data layer in Shopify are effective ways to track conversions and conversion value for Google Ads campaigns

- Reusing variables for other third-party conversion and tracking tags is possible

- Share your thoughts on using Google Tag Manager for Google Ads conversion tracking in the comments section and like the video if you found it helpful.

How to Setup Google Analytics With Shopify In 2022 - Updated

In this video tutorial, Daniel shows how to set up Google Analytics and connect it to a Shopify store in 2022. Here are the steps:

- Hi, my name is Daniel and in this video, I will show you how to set up Google Analytics for your Shopify store.


1. Go to Google and search for Google Analytics.

2. Click on Start Measuring and give your analytics account a name.

3. Enter your Shopify store name in the property name section.

4. Check all the boxes to test everything.

5. Under properties, add your website URL.

6. Create both Google Analytics 4 and Universal Analytics properties.

7. Verify and create a Universal Analytics property.

8. Agree to the terms and conditions and click on accept.

9. Refresh the page and choose the Universal Analytics property.

10. Copy your tracking ID and paste it in Shopify under online store preferences.

11. Enable Enhanced E-commerce in Shopify and Google Analytics.

12. Validate that the implementation is working by checking the real-time overview in Google Analytics.

By following these steps, you can easily set up Google Analytics for your Shopify store and track your e-commerce data. Good luck!

How to set up google analytics shopify 2022

In this video, we will be discussing how to set up Google Analytics on Shopify. Before we begin, make sure to subscribe to our channel.


1. Open your Google Analytics account and go to Admin.

2. Create a new property by clicking on Create Property.

3. Give a name to the property and change the time zone and currency if needed.

4. Click on Show Advanced Options and turn on the Create a Universal Analytics property option.

5. Enter your Shopify website URL and select the industry category and business site.

6. Click on Create to create the property.

7. Copy the global site tag code provided.

8. Go to your Shopify admin panel, click on Online Store, and select Action Edit Code.

9. Find the Head tag in the Theme.liquid file and paste the Google Analytics code under it.

10. Save the changes.

11. Go to your website and click on Real-Time Overview to confirm that Google Analytics has been successfully added.

12. Reload your website and Google Analytics page to see the active user count.

Setting up Google Analytics on Shopify is an easy process that can provide valuable insights into your website's performance. Make sure to follow these steps to accurately track your website's traffic and user behavior. Don't forget to subscribe to our channel for more Shopify-related content.

How to setup GA4 on Shopify // 2021 Tutorial // Installing Google Analytics 4 on your Shopify store

In this video, Benjamin from Loves Data demonstrates how to set up Google Analytics 4 (GA4) with ecommerce tracking on a Shopify store. The process for implementing Google Analytics will depend on the version of Shopify being used.


1. Add the tracking code to all pages on the store by editing the theme file.

2. Get the GA4 tracking code from Google Analytics.

3. Select the data stream for the Shopify store and choose Global Site Tag.

4. Prevent checkout pages from showing up as referrals in GA4 by excluding Shopify from the list of unwanted referrals.

5. Page the gtag js tracking code inside the head tags of the theme file and save.

6. Add the gtag js tracking code to the checkout dot liquid page if using Shopify Plus.

7. Add Universal Analytics to the store to report on checkout pages if not using Shopify Plus.

8. Add tracking code to the final confirmation page to track transactions into GA4.

9. Test the tracking code using Tag Assistant and view the results in GA4.

By following these steps, Shopify store owners can successfully set up GA4 with ecommerce tracking to understand their customers' behavior and improve their marketing strategies. It is recommended to review and test the tracking code to ensure it works correctly for the specific store.

Start your free trial today!

Try Pipiads free for trial, no credit card required. By entering your email,
You will be taken to the signup page.