GTM Shopify conversion issues
Introduction
Shopify store owners and performance marketers often use Google Tag Manager (GTM) to track conversions for Google Ads. However, many encounter issues where conversions are not tracked accurately or at all. This article explains why GTM Shopify conversion issues occur, outlines common causes, and provides a practical checklist to resolve them.
Why This Issue Happens
Conversion tracking relies on correct data flow between Shopify, GTM, and Google Ads. Any misconfiguration, code conflict, or update in Shopify’s checkout process can disrupt this flow, leading to missing or inaccurate conversion data.
Common Causes
- GTM container not installed on all relevant Shopify pages (especially the order confirmation/thank you page)
- Incorrect or missing data layer variables for transaction details
- Multiple or conflicting tracking scripts (e.g., Shopify’s native Google channel vs. GTM)
- Changes in Shopify’s checkout.liquid file or use of Shopify Plus checkout extensibility features
- Browser privacy settings, ad blockers, or cookie consent banners blocking tags
- Incorrect trigger or tag configuration in GTM (e.g., firing on wrong page or event)
- Outdated or incompatible GTM/Google Ads conversion tags
Step-by-Step Checklist to Fix It
- Verify GTM container code is present on all Shopify pages, including the order confirmation page. For non-Plus stores, use Shopify’s “Additional Scripts” field in checkout settings.
- Check your GTM tags and triggers. Ensure the Google Ads conversion tag is set to fire only on the order confirmation page (often identified by
/checkout/thank_you in the URL).
- Inspect the data layer on the order confirmation page. Use browser developer tools to confirm that transaction data (order ID, value, currency) is available for GTM to read.
- Ensure no duplicate conversion tags are firing (e.g., both GTM and Shopify’s native integration). Use Google Tag Assistant or GTM’s Preview mode to check for duplicates.
- If you use Shopify Plus and have customized checkout, make sure GTM and data layer code are included in your custom checkout.liquid file.
- Test your setup: Place a test order and use GTM’s Preview mode to confirm the conversion tag fires with the correct values.
- Allow time for Google Ads to process conversions, but check for real-time hits in Google Ads or Google Analytics (if linked).
What Does NOT Work
- Simply installing the GTM container on theme.liquid does not track conversions unless it is also on the order confirmation page.
- Relying solely on Shopify’s Google channel if you are also using GTM; this can cause duplicate or missed conversions.
- Assuming default GTM or Google Ads tag templates will automatically pick up Shopify’s data layer—custom mapping is often required.
- Ignoring browser privacy features or consent banners, which can block tags from firing.
How Reviews or Checks Work
After making changes, use GTM’s Preview mode to simulate a purchase and observe which tags fire. In Google Ads, check the “Conversions” section for recent activity. Google Tag Assistant and browser developer tools can help verify that the conversion tag is present and that the correct data is being sent. For more advanced troubleshooting, use the dataLayer tab in browser dev tools to inspect transaction details.
FAQ
-
Why is my Google Ads conversion tag not firing on Shopify?
The most common reason is that the GTM container or conversion tag is not set to trigger on the order confirmation page. Check your tag triggers and Shopify checkout script placement.
-
Can I use both Shopify’s Google channel and GTM for conversion tracking?
It is not recommended, as this can cause duplicate conversions or tracking conflicts. Choose one method and disable the other.
-
How do I know if my conversion tracking is working?
Use GTM’s Preview mode, Google Tag Assistant, and test orders to confirm tags fire and send the correct data. Also, monitor Google Ads conversion reports for new data.
-
What should I do if my conversion values are incorrect?
Check your data layer mapping in GTM and ensure the correct variables are passed from Shopify to the tag.
-
Does Shopify’s checkout update affect GTM tracking?
Yes, changes to checkout.liquid or new checkout extensibility features can disrupt tracking. Review your setup after any Shopify update.
Related tracking issues
Main guide:
Tracking