Aim: Install Google Tag Manager on your Shopify store to add and update your own conversion tracking, site analytics, and remarketing tags.
Optimal Outcome: Launch Google Tag Manager on Shopify successfully, allowing you to quickly and easily update tags on your website or mobile application.
What you need to start: You will need a Google Tag Manager account and a Shopify store to follow this SOP.
Why is this SOP Important: Installing Google Tag Manager in Shopify is an excellent way to keep your store organised and operational. Google Tag Manager is a platform that allows you to manage, deploy, and maintain all of your tags and tracking codes. This saves you time and makes keeping track of all your tags easier. Furthermore, Google Tag Manager can assist you in analysing customer behaviour, targeting ads, and measuring conversion rates. All of this information can be used to optimise your store and provide a better user experience.
When and Where to execute: Google Tag Manager should be installed in Shopify as soon as possible to ensure that you can monitor, track, and optimise the performance of your store.
Who Should Be Doing This: The person in charge of managing your Shopify store.
What is Google Tag Manager?
Google Tag Manager (GTM) is a free tag management system that allows you to quickly and easily update website tags (such as analytics and tracking pixels) without having to update your website’s code. It simplifies tag management and makes it easier to track and optimize your online presence. You can manage all of your tags in one place and deploy them quickly and easily with GTM.
One of the most significant advantages of Google Tag Manager is the abundance of available tag templates. The tool comes with templates for over 90 different types of tags. Instead of adding code to the system, simply enter a few variables such as your Google Ads account ID. The rest is handled by the template.
Another benefit of using Google Tag Manager is the ability to set triggers to determine when the tracking code is loaded. Instead of loading every tag on every page, you can load only the ones that are relevant to the page and improve site performance.
More tracking codes or scripts are required for e-commerce platforms such as Shopify. Consider using Google Tag Manager with Shopify if you’re having trouble keeping all of your pixels and scripts straight and up to date.
Google Tag Manager installation in Shopify is a simple and straightforward process. Here are the steps you must follow:
Create a Google Tag Manager and Generate your Tag
- Go to Google Marketing Platform.
- Click “Start for free” and sign in with your Google Account.
- Choose “Create an Account” from the menu.
- You will be taken to the Add New Account page. Fill out the form to create your account.
- After reading and accepting the Google Tag Manager Terms of Service Agreement, click the Yes button.
- Now that you’re in your Google Tag Manager Dashboard Tag Manager, navigate to the “Admin” tab section.
- Click Install Google Tag Manager.
- You will be redirected to a page with the code that must be installed on your website.
Add Google Tag Manager code to your Shopify Theme
- Log in to your Shopify account and go to Online Store > Themes.
- Click Edit Code in the theme drop-down menu.
- Copy the <head> code from Google Tag Manager and look into the head> tags of your theme.liquid.
- Scroll down and paste the head> code from Google Tag Manager directly beneath the meta tags. Then click Save.
After:
- Copy the <body> code from Google Tag Manager and look into the body> tags of your theme.liquid. Insert a Ctrl + F command to find the body>, then click next until you find the opening body tag.
- Scroll down and paste the body> code from Google Tag Manager directly beneath the body class. Then click Save.
After:
Verify that Google Tag Manager is installed
- Install the Tag Assistant Chrome extension from Google, then click the Tag Assistant icon on your Chrome browser. You should now be able to view all of your active tags and whether or not they are experiencing any issues.
- Congrats! You may now add additional Tags and Tracking Pixels to your site. GTM will make your life simpler!
Conclusion
You’re done! Keep in mind that Google Tag Manager is an effective tool for managing website tags and tracking codes. The following are some of the advantages of utilizing Google Tag Manager:
- Easier and faster deployment: Google Tag Manager allows you to put tags on your website quickly and simply without having to manually alter the code.
- Reduced Technical Dependence: Using tags on your website does not require the assistance of a web developer. This makes managing and tracking your website tags easier.
- Improved Data Quality: By using a single tag management system, you may track data more correctly and rapidly.
- Improved Security: Google Tag Manager adds an extra layer of protection to your website tags and tracking codes.
- Workflow Automation: Google Tag Manager includes automated workflows for putting tags on your website. This allows you to save time and money.
Execution Checklist:
- Create a Google Tag Manager account and generate your tag.
- Open your Shopify admin account and log in.
- Copy the Google Tag Manager head> container code, paste it into the head> section of the theme.liquid file, and save.
- Copy the Google Tag Manager body> container code, paste it into the body> section of the theme.liquid file, and save.
- Configure tags and triggers in your Google Tag Manager container to measure conversions, and include remarketing tags.