If you work in ecommerce, you’ve probably heard of Shopify. It is one of the world’s most popular pre-built shopping cart systems. Shopify is used by hundreds of thousands of websites.
Google Analytics is directly integrated with Shopify. The setup is straightforward. However, when it comes to Google Tag Manager (GTM), it’s a different story. There is no direct integration for it. Follow these steps to integrate Google Tag Manager with your Shopify store.
Creating the account
Sign up for Google Tag Manager Account and reach the stage where it will ask you to verify using code insertion

Pasting the Code
You will get two set of codes. Go to Online Store > Themes > Theme Editor > Theme.liquid file
Paste the first set of the code within <head> section (as shown in the image below)

Similary, paste the other set of code within body section. (as shown below)

The Checkout Section
Before leaving, you need to paste a copy of the complete code in the checkout page also.
For this, you can go to Settings > Checkout > Additional Scripts

Paste the complete set of code once again here.

Verify the Integration
Now, you can simply verify the integration, using Google Tag manager extension for Chrome Browser. A green signal indicates that the Google tag manager integration with Shopify store is correct.

In case you have taken higher plan in Shopify, then you will also get access to checkout.liquid file where you can repeat the same steps as we did in Theme.liquid.
Posts you may like
- From Rental Search to Property Shortlist: How SwiftPropel Built an Always-On Google Ads Demand Engine
- Turning Apartment Search Demand Into Townhome Consideration With Google Ads in Beaumont Alberta
- How SwiftPropel Turned Broad Rental Demand Into 198 Tracked Contact Actions With Google Ads
- How SwiftPropel Built a Full-Funnel Google Ads Renter-Consideration Engine for an Urban Rental Property in Edmonton Alberta
- How SwiftPropel built a Google Ads rental-enquiry system from scratch, generating 5,000 clicks, 46 tracked form-completion confirmations, and 288 booking-intent actions in 135 days

Vijay Sood is a seasoned digital marketer with a passion for driving online growth and innovation. With a robust background in developing and executing comprehensive digital strategies, Vijay excels in leveraging SEO, content marketing, and social media to boost brand visibility and engagement. His expertise lies in transforming data-driven insights into actionable marketing campaigns, helping businesses achieve their digital objectives.


