SwiftPropel » SEO School » 3 Steps to Integrate Google Tag Manager with Shopify Store

3 Steps to Integrate Google Tag Manager with Shopify Store

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

1 3

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)

2 3

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

3 2

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

5 2

Paste the complete set of code once again here.

6 2

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.

4 2

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

Editorial Staff

Leave a Comment