Written by: Richard Fong
Published on August 27, 2021
Published on August 27, 2021
Custom events tracking traditionally required shop owners to code user tracking systems into their platform manually. With the introduction of software-as-a-service (SaaS) products like Google Tag Manager (GTM), however, you can now automate several parts of the data pulling process. GTM tracks customer activity on Facebook, Instagram, Google Ads, and AdRoll, among many other platforms.
Unfortunately, GTM is not naturally integrated into Shopify. Shop owners could manually input simple codes into their Shopify store’s theme or use third-party apps for store integration. Either way, both methods require Shopify and GTM accounts. If you use a third-party developer or manually coded site, consider testing your platform first for GTM compatibility.
Despite the intimidating jargon involved, adding GTM to your Shopify store is pretty straightforward. In the worst case, you would only have to copy-paste a few codes. To give first-timers a fair starting point on GTM integration, we broke down the process into three simple steps:
Install and set up your GTM account if you don’t have one yet. Follow the system-generated prompts, which would guide you along the installation process. Stop once you reach snippet codes. You’ll be adding these lines of codes to your store later, so copy-paste them in a separate document.
If you already have GTM installed, you should see the snippet codes under the admin folder. Go to the GTM homepage, click on the admin tab, then select the “install Google Tag Manager” section. Go through the setup prompts again until you see the snippet codes.
Now that you have the codes, it’s time to add them to your Shopify store’s theme. Press the “online store” tab on your Shopify homepage and click “edit code.” You should now see the text tabs of your theme.
Locate the theme.liquid and checkout.liquid codes, then copy-paste the first line of sippet codes into their respective <head> tags. Input them as high up as possible.
Repeat the steps mentioned above to locate the theme.liquid and checkout.liquid texts again. However, this time, you’ll have to copy-paste the second line of snippet codes. Input them into their respective <body> tags as high as possible. Click save, then test out your newly coded GTM system.
Do you find yourself stuck between the different eCommerce platforms? Check out our quick introduction on how to find the most commonly used platforms among modern eCommerce shops.
Even with GMT, Facebook Pixel, and Google Analytics tools, custom events tracking still requires proactive analysis. Some entrepreneurs spend hours reading dozens of user statistics. Pulling customer events data is one thing, but utilizing these findings to improve your brand’s overall shopping experience is another.
If you don’t have time to learn customer events tracking, consider working with marketing professionals. Haphazard tracking only produces inaccurate, unreliable data. Leave data analysis to marketers and use your time to focus on creating an overall better brand for your customers instead.
Are you unsure if you have sufficient funds to start an eCommerce shop? Our team at Bliss Drive can help! Use our resources to grasp what it costs to develop a navigable, user-friendly eCommerce website.