
This past year Shopify launched a new checkout experience with a rolling depreciation of the old checkout and “additional scripts” section that housed a lot of conversion tracking for digital marketing initiatives. What does this mean? This means potentially your Google Ads, Reddit, and other platforms will loose conversion tracking unless you set them up again using Shopify Customer Events.
We find Google’s Customer Events section to be complicated for most marketers. This is why we are advising clients to use Google Tag Manager (GTM) instead. In this guide, we’ll walk you through the process of setting up GTM with Shopify using Shopify’s Customer Events and a custom pixel to ensure accurate tracking and streamlined tag management.
Step 1: Set Up Shopify Customer Events and a Custom Pixel for GTM
Shopify Customer Events feature allows you to track key actions on your store, such as product views, cart additions, and purchases. To integrate Google Tag Manager, you’ll need to create a custom pixel.
How to Set Up a Custom Pixel for GTM
- Go to your Shopify Admin Panel > Settings > Customer Events.
- Click Add custom pixel and name it something recognizable, like “Google Tag Manager.”
- Shopify provides a GTM setup guide with the required code. You’ll need to insert your GTM container ID into the script.
- Copy and paste the modified script into the Custom Pixel Editor in Shopify.
- Click Save and Enable the pixel.
📌 Reference: Shopify’s help guide on setting up GTM:
Step 2: Set Up GTM Variables and Triggers
Now that your Shopify store is linked to GTM, you need to set up variables and triggers to track key user interactions. We’ve created a pre-configured GTM container file that contains all the necessary triggers and variables.
Download the container file here.
How to Import a GTM Container File
- Download the pre-configured GTM container file (we’ll provide a link in the blog post).
- Log in to your Google Tag Manager account
- Select the GTM container for your Shopify store.
- Click Admin > Import Container.
- Upload the GTM container file.
- Choose Merge (to keep existing settings) or Overwrite (to replace existing settings).
- Click Confirm and Publish to apply the changes.
By importing this file, you’ll automatically set up the necessary triggers for events like:
✅ Page views
✅ Product views
✅ Add to cart
✅ Checkout started
✅ Purchase completed
Step 3: Add Tags in GTM
With your variables and triggers in place, it’s time to set up your tracking tags. GTM allows you to integrate with marketing platforms like Google Ads, Facebook (Meta) Ads, and Google Analytics.
Example: Setting Up a Google Ads Conversion Tag
- In Google Tag Manager, click Tags > New.
- Choose Google Ads Conversion Tracking as the tag type.
- Enter your Google Ads conversion ID and label.
- Select the “checkout_complete” trigger.
-
Add the necessary variables:
- Value = {{order_value}}
- Currency = {{currency}}
- Order ID = {{order_id}}
- Click Save and Publish the tag.
Final Thoughts
By following these steps, you’ll have a fully functional GTM setup for your Shopify store, allowing you to track conversions, optimize marketing campaigns, and gain deeper insights into customer behavior.
💡 Pro Tip: Regularly test your tags using Google Tag Assistant or Preview Mode in GTM to ensure everything is firing correctly.
Need Help Setting Up GTM for Your Shopify Store?
At Akers Digital, we specialize in helping outdoor brands optimize their eCommerce tracking and digital advertising. If you need expert assistance with GTM, Google Ads, or Shopify analytics, get in touch with us today!