How to Add Google Tag Manager Snippet to Shopify (Non-Plus)

Published: 20 July 2020

Updated: 10 February 2023

Author Image
Alex is a senior analytics expert @Viden, delivering value for brands through vast technical proficiency in data science. With years of experience in the field, he specializes in providing efficient analytics solutions to nuanced data collection and reporting challenges.
How to Add Google Tag Manager Snippet to Shopify (Non-Plus)

Adding the Google Tag Manager code snippet to a Shopify store is key to getting more detailed insights into how your customers use and interact with your website. With it, you can easily track user activity, such as page visits, clicks, conversions, and other data that helps you better understand customer behavior. This guide will help you add the Google Tag Manager code snippet to your Shopify store without any extra features included with the Shopify Plus version.

Adding Google Tag Manager Without Shopify Plus

If your Shopify account does not have the Plus plan, adding GTM could be quite tricky. The official Shopify documentation guide covers adding GTM on Shopify Plus stores only:

Adding GTM on Shopify Plus

There are two key elements/areas to cover when adding the code to Shopify:

  1. ‘theme.liquid’ (which is essentially all non-checkout pages): you can access and modify ‘theme.liquid’ even if you have a non-plus Shopify account. Follow the instructions from the Shopify guide to add GTM to ‘theme.liquid’
  2. ‘checkout.liquid’ (which controls the code on checkout pages): it can only be accessed by Shopify Plus account users.

The challenge is how to add GTM container to the checkout pages if you do not have a Plus account.

The not-so-good news is that you can’t add a GTM container to checkout pages (if you don’t have Shopify Plus). The good news is that GTM can be added to the order confirmation page.

Further reading: Google Analytics 4. Implementation Guide for GTM

Adding GTM Container to Shopify Order Confirmation Page

Here is the solution to adding a GTM container the Shopify order confirmation page (for non-Plus account holders):

  1. Navigate to Settings (left-hand-side navigation menu) -> Checkout -> Order Processing
  2. Settings, checkout and order processing menus on the Shopify order confirmation page

  3. Copy and paste your GTM container snippet into the ‘Additional scripts’ section
  4. Copying and pasting your GTM container snippet into the ‘Additional scripts’ section

  5. Save the settings and run the debug to ensure the container is working properly

Get Help to Add GTM Snippet to Shopify (Non-Plus)

Adding a Google Tag Manager snippet to your Shopify website can be daunting, but the rewards are plentiful. We recommend giving our team a call if you’re having difficulty. Our staff of experts has plenty of experience with the process and will provide you with a free consultation to go over potential solutions that can help streamline your success. We hope this article helped inspire you to take the plunge and get in touch with us; we look forward to speaking with you soon!

Further reading: Passing Customers’ Data to Google Analytics from Shopify

Get in touch

Got a question? We'd love to hear from you. Send us a message and we'll respond as soon as possible.



    By clicking submit, you agree to our Privacy Policy

    Latest Insights

    Get the tips from our experts to optimize and scale your campaigns

    1 September 2023

    How Marketing Teams Can Take Advantage of Generative AI

    Generative AI is a game-changer for marketing. Discover how you can use this technology to create more personalized customer experiences and drive more conversions.

    Learn more

    31 July 2023

    10 Tips for Marketing Male Supplements with Social Media

    Discover the best way to promote your male supplement company with our comprehensive guide. Learn how to use social media to promote your products and generate leads.

    Learn more

    20 July 2023

    How Marketers Can Use GA4 to Improve Campaign Performance

    Study our guide to GA4 for marketers and learn how to track your marketing performance, measure your ROI, and make better decisions.

    Learn more

    14 July 2023

    Understanding Data Filters in Google Analytics 4

    Want to get more out of your Google Analytics 4 data? Learn how to use GA4 filters to see the data that matters most to you.

    Learn more

    5 July 2023

    How to Set up Event Tracking in Google Analytics 4

    Learn how to set up event tracking in Google Analytics 4, track user behavior on your website or app, and use this data to improve your marketing campaigns and website performance.

    Learn more

    30 June 2023

    The Ultimate GA4 Handbook: Your Complete Guide to Understanding GA4

    Discover the ultimate guide to Google Analytics 4. Seamlessly transition from Universal Analytics to GA4 and unlock its full potential. Download the free handbook now!

    Learn more

    23 June 2023

    How to Use Google Analytics 4 to Grow Your Small Business

    Want to know how to use Google Analytics 4 to grow your small business? This article will show you how to set up GA4, track your key metrics, and use the data to make informed decisions.

    Learn more

    13 June 2023

    Understanding Enhanced Measurement in GA4

    Learn how to use Enhanced Measurement in Google Analytics 4 to collect more data about your users and improve your marketing and business decisions.

    Learn more