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

Home Blog Area Analytics

Published: 20 July 2020

Updated: 29 January 2024

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

Settings, checkout and order processing menus on the Shopify order confirmation page

    1. Copy and paste your GTM container snippet into the ‘Additional scripts’ section

Copying and pasting your GTM container snippet into the ‘Additional scripts’ section

  1. 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

    28 March 2024

    Navigating the Data Deluge: Prioritizing Key Metrics in the Age of Google Analytics 4

    With the advent of Google Analytics 4 (GA4), the key business challenge becomes not collecting data but discerning what truly matters in the sea of data. 64% of marketing executives believe data-driven marketing is crucial to success in a hyper-competitive global economy. By prioritizing key metrics and avoiding the trap of tracking everything, businesses can […]

    Learn more

    3 January 2024

    How to Create a Viable First-Party Data Strategy in 2024?

    Discover the 9 key steps to build a first-party data strategy that maximizes customer data and enhances your marketing efforts.

    Learn more

    27 December 2023

    How To Create a Seamless Customer Experience to Win More Returning Clients

    Want customers hitting a repeat button? Learn the secrets to building a seamless customer experience that keeps them coming back for more.

    Learn more

    30 November 2023

    Maximize Your Data Retention in Google Analytics 4 (GA4) 

    Learn how to manage data storage and protect privacy with GA4 data retention settings.

    Learn more

    24 November 2023

    How to Read and Interpret Google Analytics 4 Reports to Drive Business Success

    Get to know how to read Google Analytics 4 reports to uncover customer insights, optimize marketing strategies, and drive business growth.

    Learn more

    11 November 2023

    How to Preserve Google Analytics’ Historical Data?

    Fearing to lose your Google Analytics’ historical data? Don't worry! This guide will show you four ways to save data during the UA-to-GA4 migration.

    Learn more

    9 November 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

    4 November 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