Logo Lira
  • Home
  • Services
    • eCommerce PPC Management
    • Google Shopping Management
    • Google Ads for Local Services Business
    • SaaS PPC Management
    • Agency Ad Accounts
      • BIGO
      • Kwai
      • BYYD
  • Case Studies
  • Blog
  • Resources
    • Library
      • eCommerce
      • SaaS
      • Real Estate
    • Downloads
    • E-commerce Glossary
    • ACOS to ROAS Calculator
    • Shopify Google Shopping Feed
    • Digital Marketing Events 2024
      • Top Affiliate Marketing Events 2024
    • Insights
  • About Us
    • Team
    • Google Premier Agency
    • Top PPC Agency in Armenia
    • We Are Hiring
      • Digital Marketing Internship
  • Contacts
Get in touch
Logo Lira
  • Home
  • Services
    • eCommerce PPC Management
    • Google Shopping Management
    • Google Ads for Local Services Business
    • SaaS PPC Management
    • Agency Ad Accounts
      • BIGO
      • Kwai
      • BYYD
  • Case Studies
  • Blog
  • Resources
    • Library
      • eCommerce
      • SaaS
      • Real Estate
    • Downloads
    • E-commerce Glossary
    • ACOS to ROAS Calculator
    • Shopify Google Shopping Feed
    • Digital Marketing Events 2024
      • Top Affiliate Marketing Events 2024
    • Insights
  • About Us
    • Team
    • Google Premier Agency
    • Top PPC Agency in Armenia
    • We Are Hiring
      • Digital Marketing Internship
  • Contacts
Get in touch
  • Home
  • Services
    • eCommerce PPC Management
    • Google Shopping Management
    • Google Ads for Local Services Business
    • SaaS PPC Management
    • Agency Ad Accounts
      • BIGO
      • Kwai
      • BYYD
  • Case Studies
  • Blog
  • Resources
    • Library
      • eCommerce
      • SaaS
      • Real Estate
    • Downloads
    • E-commerce Glossary
    • ACOS to ROAS Calculator
    • Shopify Google Shopping Feed
    • Digital Marketing Events 2024
      • Top Affiliate Marketing Events 2024
    • Insights
  • About Us
    • Team
    • Google Premier Agency
    • Top PPC Agency in Armenia
    • We Are Hiring
      • Digital Marketing Internship
  • Contacts
  • Home
  • Services
    • eCommerce PPC Management
    • Google Shopping Management
    • Google Ads for Local Services Business
    • SaaS PPC Management
    • Agency Ad Accounts
      • BIGO
      • Kwai
      • BYYD
  • Case Studies
  • Blog
  • Resources
    • Library
      • eCommerce
      • SaaS
      • Real Estate
    • Downloads
    • E-commerce Glossary
    • ACOS to ROAS Calculator
    • Shopify Google Shopping Feed
    • Digital Marketing Events 2024
      • Top Affiliate Marketing Events 2024
    • Insights
  • About Us
    • Team
    • Google Premier Agency
    • Top PPC Agency in Armenia
    • We Are Hiring
      • Digital Marketing Internship
  • Contacts
Blog

Home > How to Install Google Tag Manager on Shopify

E-commercePPC

How to Install Google Tag Manager on Shopify

December 26, 2022 by Vadim Turinov
How to Install Google Tag Manager on Shopify

Google Tag Manager (GTM) is one of the most useful tools for marketers. However, Shopify has no built-in integration for GTM, and you often need a guide to set it up.

In this article, we’ll talk about how to add GTM to your store on Shopify. Also, how to link Shopify and Google Universal Analytics, and how to pass product value.

You can also check out our other article on how to install GA4 on Shopify.

Contents

  • How to Install Google Tag Manager on Shopify
    • Why Use Google Tag Manager for Shopify
    • How to Set Up Google Tag Manager in Shopify
    • Enable Enhanced eCommerce Reporting and Tracking Values to Google Universal Analytics
  • Conclusion
  • FAQ

How to Install Google Tag Manager on Shopify

Below, we’ll talk about why you should install GTM on Shopify at all, how to do it, and how to set up eCommerce without using GTM.

Why Use Google Tag Manager for Shopify

Google Tag Manager allows us to manage all of our marketing and tracking tags from one place, quickly set up and test performance. 

Without using GTM, marketers need developers to set up tags. 

For example: 

  • you need to add a Google Ads, UET Tag, Twitter Pixel tag, or Google Analytics 4 global tracking code to all pages;
  • a form submission event, which will be triggered after the form has been submitted correctly; 
  • you need to install third-party codes that integrate with Shopify only through the site code or through paid apps.

All of this can be done quickly in GTM in a matter of minutes.

Are Your Online Tills Ringing?

If not, drop us a message and let’s change that with our Google Ads management!

Get Free Proposal

How to Set Up Google Tag Manager in Shopify

Method 1: Adding GTM to a Shopify Theme

It may seem complicated, but after we’ll walk you through the steps, you can easily add Google Tag Manager to your Shopify store. Just follow the instructions below.

 

Step 1: Copy the GTM Container Code

Sign up for Google Tag Manager if you are not already registered. 

After logging into your account, go to the container and click on your GTM code at the top of the screen and copy the code from the <head> section.

Step 2: Insert the GTM Code Into Your Shopify Theme Files

To do this, you’ll need to log in with your Shopify admin username.

Themes > Actions (next to your theme name) > Edit Code

Then copy the code from GTM in the <body> section and add it to the theme of the site.

The GTM code will now appear on every page of your store, except for the checkout and thank you pages.

 

Step 3: Add GTM Code to the Checkout Page

Follow these steps to find the order processing section.

Settings > Checkout > Order status page, and then paste the GTM code there.

GTM will now work on your store pages, as well as the thank you page. But the code won’t work in the checkout stages (when the user enters their credit card and address information), the code will work on the order completion page.

 

Step 4: Check If GTM Works
  • Through the “Google Tag Assistant Legacy” browser extension.
  • Via GTM interface

Our experienced Shopify PPC agency can help you install GTM and launch successful ad campaigns.

Method 2: Adding GTM Through Apps

Apps help you set up more detailed tracking: product displays, events of adding to cart, actions with search in the list, checkout process, removal from cart, user ID and many others.

If you’re only using Google Ads as your advertising channel, it’s worth noting that you can set up data tracking throughout your funnel without using paid apps. I’ll cover this in the section “Enable Enhanced eCommerce Reporting and Tracking Values to Google Universal Analytics”.

Below are apps that will allow you to integrate your store with Google Tag Manager, Google Universal Analytics, Google Ads, Facebook Pixel, Klaviyo, Snapchat and others.

1. Easy Tag — GTM & Data Layer 

Rating: 4.9

Integrations: Google Tag Manager, Google Universal Analytics, Google Ads, Facebook Pixel, Klaviyo, Snapchat and 40+ more digital marketing channels.

Price: $149/one-time charge

Get more information here. 

2. Elevar Conversion Tracking

Rating: 4.5

Integrations: Google Universal Analytics, Google Tag Manager, Facebook Pixel, Google Ads, GA4, ReCharge & Carthook and 40+ more digital marketing channels.

Price: $50/month

Get more information here. 

Despite the wide functionality, the price is lower than other popular applications. This application is suitable for those who are going to test their store in a short period of time.

3. Analyzify

Rating: 5

Integrations: Google Tag Manager, Google Universal Analytics 4, Facebook Pixel, Google Ads, Google Data Studio, Pinterest Pixel, Microsoft Ads, Tiktok, Pinterest, Clarity.

Price: $749/one-time charge

Get more information here. 

The price of this application is several times higher than the other two, and the number of integrations is limited. But the advantage of this application is that Analyzify specialists will customize it for you.

Enable Enhanced eCommerce Reporting and Tracking Values to Google Universal Analytics

You don’t need to install GTM on your site to enable eCommerce and set up a Google Universal Analytics value tracking. 

To install it, you need to enable eCommerce in Shopify settings and add the Google Universal Analytics code.

1. Advanced eCommerce should be enabled in the Google Universal Analytics account itself at the view level. At the property level of Google Universal Analytics, under “Property Settings”, copy “Tracking ID” at once.

2. Enable eCommerce in Shopify settings.

After a while, you will begin to receive data on events. You can see them under “Behaviour” > “Events” > “Top Events” > select the “Ecommerce” category.

With this data, you can create goals that you will track and send to Google ads.

You will also start to get data on the value of conversions after the transactions. This can be observed under “Conversions” > “E-commerce” > “Overview”.

Conclusion

As you probably figured out, installing GTM on Shopify is pretty easy. You can choose whether to install GTM manually or with a paid program. 

Visit our eCommerce PPC library and find more valuable guides and our cases.

If you still have questions about installing Google Tag Manager on Shopify and setting up eCommerce, feel free to contact our team.

You can also read our other articles on:

  1. Google Ads ecommerce conversion tracking
  2. Google Ads Dynamic Remarketing in Shopify
  3. Must-have Shopify apps 

FAQ

How to install Google Universal Analytics on Shopify?

First, create a Google account if you don’t have one. Next step is to make an Analytics account. Next, enable Google Analytics on your Shopify store and turn on ecommerce tracking (either basic or enhanced). To get help with the last two steps, contact our team.

Is Google Tag Manager free to use?

Yes, you can use this tag management system for free.

How do I disable Google Tag Manager on Shopify?

To disable it, you need to remove the GTM code in the Theme settings.

There is also another option. You can delete the container in the GTM settings. In this case, the code of the container will remain in the site code and will not function.

How to check if GTM is working?

To check if Google Tag Manager is working properly, follow these steps:

  1. First, ensure that the GTM container code is properly installed on your website. You can check this by viewing the source code of your website and searching for the GTM container code snippet.
  2. Preview your container: GTM provides a preview mode that allows you to test your container and see if it’s working properly. To access preview mode, click on the “Preview” button in the top right corner of the GTM interface.
  3. Once you’re in preview mode, navigate to the page or pages you want to test and perform the actions that trigger your tags. 
  4. Check your tags in the debugger: The GTM debugger can help you diagnose and troubleshoot any issues with your tags. To access the debugger, click on the “Debug” button in the top right corner of the GTM interface. The debugger will show you a log of all the tags that fired on the page, along with any errors or warnings.

Why are Shopify products not approved by Google?

The solution to this problem depends on the particular case. For example, merchants selling unique products (not dropshipping) often forget to mark the products as custom. Another reason for disapproved items — their images cannot be crawled by Google. But there are many other issues causing this problem. You can contact us for help.

ARTICLE BY

Vadim Turinov

Performance Marketing Specialist working with PPC. I love working with customers from all over the world and solving problems I’ve never faced before. When not working, I read up on marketing to develop my skills.

NEED TO SCALE YOUR BUSINESS WITH GOOGLE ADS? WE ARE HERE TO HELP!
Let's talk!
e-commerce ppc
How to Set Up Microsoft Shopping Campaigns (Bing Shopping Ads) for E-Commerce Store on ShopifyHow to Set Up Microsoft Shopping Campaigns (Bing Shopping Ads) for E-Commerce Store on ShopifyDecember 1, 2022
How to Use ChatGPT in MarketingJanuary 31, 2023How to Use ChatGPT in Marketing

Related Posts

PPC
How to Set Up Bigo Ads
April 25, 2024 by Viktoria Arsenteva
PPC
AppLovin vs. BYYD | In-app Advertising Platforms
August 29, 2024 by Viktoria Arsenteva
0 0 votes
Article Rating
Subscribe
Login
Notify of

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Let’s Connect on LinkedIn!

Follow us for the newest updates and tips in PPC advertising.

Follow
Featured author image: How to Install Google Tag Manager on Shopify

Artem Akulov

Hi! I'm the Founder & CEO at Lira Agency. Welcome to our blog! Ask questions and share your insights in comments.

Recent Posts
  • The Truth About Google Ads Smart Campaigns: Why They Don’t Work for Local Businesses in the US and What to Use Instead April 16, 2025
  • Why Your LSA Lead Volume is Dropping and How to Fix It April 4, 2025
  • How Many Keywords Do You Need in Google Search Ads for Local Businesses in the US April 3, 2025

Earn 2x Revenue With Lira

Please enable JavaScript in your browser to complete this form.
Loading

Logo Lira

Lira

Case Studies
Team
Google Premier Partner 2024
Blog
Editorial Standards

Services

E-commerce PPC Management
SaaS PPC Management
Locksmith PPC Management
Google Ads Management
Microsoft Ads Management (ex Bing)
Agency Ad Accounts

Contact Us

Request Form
[email protected]

Privacy Policy | Terms & Conditions

Copyright © 2024 Lira. All Rights Reserved

#integrio_button_68224e5fac1e7 .wgl_button_link { color: rgba(255,255,255,1); }#integrio_button_68224e5fac1e7 .wgl_button_link:hover { color: rgba(255,255,255,1); }#integrio_button_68224e5fac1e7 .wgl_button_link { border-color: rgba(33,107,34,1); background-color: rgba(33,107,34,1); }#integrio_button_68224e5fac1e7 .wgl_button_link:hover { border-color: rgba(66,150,43,1); background-color: rgba(66,150,43,1); }#integrio_button_68224e5fac1e7.effect_3d .link_wrapper { color: rgba(33,107,34,1); }#integrio_button_68224e5fae93c .wgl_button_link { color: rgba(49,49,49,1); }#integrio_button_68224e5fae93c .wgl_button_link:hover { color: rgba(255,255,255,1); }#integrio_button_68224e5fae93c .wgl_button_link { border-color: rgba(27,120,13,1); background-color: rgba(49,49,49,0); }#integrio_button_68224e5fae93c .wgl_button_link:hover { border-color: rgba(27,120,13,1); background-color: rgba(27,120,13,1); }#integrio_button_68224e5fae93c.effect_3d .link_wrapper { color: rgba(27,120,13,1); }#integrio_dbl_68224e5fbb487 .heading_subtitle{ color: #000000; }#integrio_dbl_68224e5fc2dd9 .heading_subtitle{ color: #ea730b; }#blog_module_68224e5fc90c4.blog-posts .blog-post_title, #blog_module_68224e5fc90c4.blog-posts .blog-post_title a { font-size:24px; line-height:36px; font-weight:700; }#blog_module_68224e5fc90c4.blog-posts .blog-post_text { font-size:14px; line-height:24px; }#integrio_soc_icon_wrap_68224e5fce7dd a{ background: #216b22; border-color: #216b22; }#integrio_soc_icon_wrap_68224e5fce7dd a:hover{ background: #3c8e25; border-color: #3c8e25; }#integrio_soc_icon_wrap_68224e5fce7dd a{ color: #ffffff; }#integrio_soc_icon_wrap_68224e5fce7dd a:hover{ color: #ffffff; }.integrio_module_social #soc_icon_68224e5fce8091{ color: #ffffff; }.integrio_module_social #soc_icon_68224e5fce8091:hover{ color: #ffffff; }.integrio_module_social #soc_icon_68224e5fce8091{ background: #0a66c2; }.integrio_module_social #soc_icon_68224e5fce8091:hover{ background: #0a66c2; }
We use cookies to store your preferences and visits in order to provide the most relevant experience. By clicking "Accept All", you accept ALL cookies. Visit "Cookie Settings" to make changes.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
wpDiscuz