Google Tag Manager allows you to easily deploy code and tracking pixels to your site without the need to edit the code of asking your developer to do it.
Creating a Google Tag Manager Account
This section is for those who don’t have a GTM account. Skip this section if you already have one.
- Visit the GTM website and use your Google login credentials (Gmail ID and Password) to get in.
- Next, you’ll be taken to create a new GTM account. Click on Create Account and Fill in your account information (Account name, Country, e-commerce url). Make sure to select "Web" for your Target platform.
On clicking the ‘Create’ button, a pop-up window with terms and conditions will appear on the screen. Go through the text and if you have no objection to the terms click ‘Accept.’
A new pop-up with two code snippets will appear. Copy the first code or leave the page open and head to your Shopify store
Adding the container code snippets to the Shopify store
Use your Shopify admin account credentials and login to the store. The piece of code are to be positioned in your theme.liquid page.
Copy the first code snippet (the one to paste in the Head section).
Go to the Shopify admin page and follow this path: Online Store > Themes > Edit Code.
Next, click on the theme.liquid file from the and paste the Google Tag Manager container code you previously copied just before the </head> tag as shown in the image below.
Now, click ‘Save.’
Voila! It’s done. 🎉
Although it is not necessary to insert the second container code, you can paste it just below the body tag.
After installing Google Tag Manager, find out how to install the Upfluence Live Capture App on your website with Google Tag Manager?
Frequently Asked Questions 🤔
How to access code snippets if I already have a Google Tag Manager account?
Login to Google Tag Manager Website; on the ‘admin’ page click on the ‘Install Google Tag Manager" link under the ‘Container’ section. You’ll be taken to the two code snippets page.