How to Add Google Tag Manager to a Shopify Store

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on reddit
Share on email

Google Tag Manager is a powerful marketing tool for digital marketers to measure website engagement and optimize campaigns. In this article, we’ll go over how you can set up Google Tag Manager on Shopify so you have the option of using it when needed.

Google Tag Manager is a tool that allows you to add analytics and tracking codes to your website. This article will show you how to add Google Tag Manager to Shopify.

How to Add Google Tag Manager to a Shopify Store

How to Add Google Tag Manager to a Shopify Store

One of the most prominent ecommerce systems is Shopify. They assist you in starting, running, and growing your company.

It’s critical to maintain track of your conversions, analytics, and other data while running a company. This is something that Google Analytics can help you with.

The greatest part is that we’ve put up a step-by-step tutorial to help you integrate Google Tag Manager is a tool that allows you to manage your with your Shopify business!

Let’s get this party started.

What Are the Benefits of Using Google Tag Manager in a Shopify Store?

To begin with, Google Tag Manager is completely free. This program is provided by Google and enables you to add many sorts of code to your website.

This program is an excellent addition to your business for managing many pixels and tracking codes.

Simply said, Google Tag Manager allows you to follow the activities of your Shopify shop without having to change the code.

This implies that anybody can accomplish it.

The only need is that you have Google Analytics installed on your shop. Do not use Google Tag Manager to integrate Google Analytics to your Shopify shop. Follow SOP 067 – How to Add Google Analytics to a Shopify Store if you haven’t already.

After you’ve successfully integrated Google Analytics into your shop, consider the following:

  1. Where can I find instructions on how to integrate Google Tag Manager to my Shopify account? Google Tag Manager and the Shopify admin panel
  2. When should Google Tag Manager be added to my Shopify account? It’ll only happen once.
  3. Who should I contact to get Google Tag Manager installed on my Shopify account? The person in charge of website administration and analytics.

The ultimate result is to integrate Google Tag Manager and install it successfully without any technical concerns.

Step 1: Create a conducive environment

The Chrome Extension for Google Tag Assistant is available for download and installation.

It’s completely free! For this stage, don’t pay for any additional downloading addons.

Step 2: Collect your Google Tag Manager Container Code.

Start at A if you don’t have a Google Tag Manager account. Skip to B if you already have a Google Tag Manager account.

1. Go to your Google account and sign in.

2. Create an account using Google Tag Manager.

  • Both the account and the container should be named after your company/website.
  • Select “Web” under “Where to Use Container.”

Google Tag Manager

Google Tag Manager


3. You must agree to the terms and conditions.

4. Your Google Tag Manager code will appear.

  • You will need the code without the tags for the following step.


  • Another piece of code may be found below that. You will need the whole code, including the tags, for the following step.


  • When you’re in your Workspace, go to Submit > Publish > Submit. Publish your Google Tag Manager container as usual.

B. If you already have a Google Tag Manager account, follow these instructions:

1. Go to your Google Tag Manager account and sign in.

2. Click “Admin” in the top header, then “Install Google Tag Manager.”


3. Paste the code in the tags (do not copy those tags). It’ll come in handy in the following phase. Important: pay close attention to the code part you’re copying. To complete this operation, you’ll need to remove the “” tags.


4. Below the first snippet of code, there will be a second one; copy the whole code (including the tags) this time. You’ll need it for the following step as well.


Step 3: Integrating Google Tag Manager with your Shopify shop

Note: Unlike the official guidelines, which only enables you to add Google Tag Manager to non-checkout pages unless you are a Shopify Plus user, this approach allows you to add GTM to your whole website.

If you’re a Shopify Plus client, be sure to read the official documentation here.

1. Go to your Shopify shop and log in.

2. Select “Preferences” from the sidebar under “Online Store.”


3. Select “Add custom JavaScript to Google Analytics” from the drop-down menu.


4. Paste the code portion you copied in the previous step.


5. Press the “Save” button.

6. In the sidebar, click “Themes” under “Online Store.”


7. Select Actions > Edit Code from the drop-down menu. 


 8. Type “theme.liquid” into the search field. Select “theme.liquid” from the drop-down menu.

9. Look for a code section that begins with “

tag) into the mix.


Here’s an illustration:


10. In the upper right corner, click “Save.”

QA-ing your installation is the fourth step.

1. Open Chrome and go to your website’s main page.

2. Select the Google Tag Assistant Chrome Extension from the drop-down menu.

Google Tag Assistant Chrome Extension

Google Tag Assistant Chrome Extension

3. Select “Enable.”


4. Click on the Google Tag Assistant Chrome Extension again after refreshing the page.

5. A green Google Tag Manager tag should appear, indicating that the installation was successful!


Bringing Google Tag Manager to a Shopify Store to a Close

Google Tag Manager is like a toolbox, including all of the tracking tools you’ll ever need in one convenient location.

Tracking your customers’ on-page behaviors is critical to ecommerce success. Google Tag Manager keeps track of this information and arranges it for you.

After then, it’s up to you to utilize the information to boost your ecommerce sales!

Are you interested in learning more about Google Tag Manager and tracking?

Visit the following blogs for further information:

Everything You Need to Know About Google Tag Manager and SEO

How to Integrate Google Tag Manager with WordPress

The Importance of Digital Marketing Tracking: Conversion Tests

Watch This Video-

The “shopify google tag manager enhanced ecommerce” is a tutorial on how to add Google Tag Manager to a Shopify store. This tutorial will show you how to use the Google Tag Manager with your Shopify store.

Frequently Asked Questions

How do I add Google Tag Manager to Shopify?

A: You can add Google Tag Manager to your Shopify store by following these steps.
1. Log into or create an account with Google Tag Manager and give it a domain name that you own, such as www.mysite1234567890.
2. Create another new project in the newly created domain, giving it the same name of your website and adding _tag. For example, if your site is called bobshops, then you would use BobShop_Tag .
3. Add a link from one page on this project to an analytics script hosted on third party server (for instance) using pushpin – https://yourdomain/Home-Page-analysys/.
4. The final step is to add all of the custom HTML needed for different kinds of tracking code so that they are able to collect data properly without affecting load time on pages – https://developersguide101/google-tagmanager–customizing–html5-.

Can you use Google Tag Manager with Shopify basic?

A: Google Tag Manager requires the installation of a plugin in order to run on Shopify basic, which is not available.

Where do I put Google Tag Manager?

A: You should put the Google Tag Manager folder in your root directory. If you are unsure if this is correct, please check C:\Users\YOURNAME

Related Tags

  • google tag manager without shopify plus
  • google tag manager and shopify
  • google analytics
  • google tag manager extension
  • shopify gtm datalayer

Get in Touch with your New
Digital Marketing Consultant Now!

- Dominate your search results.
- Save time by letting us do the work.
- Expand and protect your brand.
- Generate more leads for sales potential.
- Convert more leads for growth.
Scroll to Top