How to Set Up Google Ads Enhanced Conversion Tracking for a Shopify Store via GTM

Introduction

Enhanced conversion tracking is essential for improving the accuracy of Google Ads conversion tracking. For Shopify stores, setting up Enhanced Conversions ensures that Google Ads receives first-party customer data, improving attribution and reporting accuracy. In this guide, I’ll walk you through setting up Google Ads Enhanced Conversion tracking for Purchase conversions using Google Tag Manager (GTM).

Benefits of Enhanced Conversions

  • Better Conversion Tracking: Helps capture more accurate conversion data, even when cookies are limited.
  • Improved Attribution: Enhances data accuracy, allowing Google Ads to attribute conversions to the right campaigns.
  • Privacy-Safe Data Collection: Uses SHA256 hashing to securely transmit customer information.
  • Higher Campaign Performance: Leads to better optimization and improved return on investment (ROI).

Prerequisites

Before proceeding, ensure you have:

  • A Shopify store with a data layer that includes Purchase event details.
  • Google Tag Manager installed on your Shopify store.
  • Google Ads account with access to Conversion Tracking.

💡 Need help setting up your data layer or conversion tracking?
✅ Hire Me for Setup: WhatsApp Me
✅ Book a Consultation: Schedule a Call

Step-by-Step Guide to Setting Up Enhanced Conversions in Shopify

Step 1: Create a New Conversion Action in Google Ads

  1. Log in to your Google Ads account.
  2. Navigate to Tools and Settings > Measurement > Conversions.
  3. Click New Conversion Action.
  4. Select Website as the conversion source.
  5. Enter your Shopify store’s URL and click Scan.
  6. Choose Purchase as the conversion action.
  7. Set up the conversion details:
    • Category: Purchase
    • Value: Use different values for each conversion (recommended for eCommerce)
    • Count: Every
  8. Enable Enhanced Conversions.
  9. Click Done, then Save and Continue.

Google Ads Enhanced Conversion Tag

Step 2: Set Up Google Ads Conversion Tag in GTM

  1. Open Google Tag Manager and navigate to Tags.
  2. Click New and select Google Ads Conversion Tracking.
  3. Enter the Conversion ID and Conversion Label from Google Ads.
  4. Set Transaction Value dynamically:
    • Click + next to Conversion Value.
    • Select or create a variable for transaction value from the data layer.
    • Similarly, set the Currency Code.
  5. Enable Enhanced Conversions and select Data Layer as the method.
  6. Click Triggering, select Custom Event, and enter purchase as the event name.
  7. Save the tag.

Google Ads Conversion Tracking Tag in GTM

Step 3: Create Custom Variables for Enhanced Conversion Data

  1. Navigate to Variables in GTM.
  2. Click New and select Data Layer Variable.
  3. Create variables for:
    • customer_email: ecommerce.purchase.customer.email
    • customer_phone: ecommerce.purchase.customer.phone
  4. Save each variable.

Customer Data Variable in GTM for Enhanced Conversion

Step 4: Modify Google Ads Conversion Tag to Include Customer Data

  1. Edit the Google Ads Conversion Tag in GTM.
  2. Scroll down to Enhanced Conversions.
  3. Select Manually specify customer data.
  4. Map the variables created in Step 3:
    • Email → customer_email
    • Phone → customer_phone
  5. Save the tag.

Google Ads Purchase Tag with Enhanced Conversion

Step 5: Test the Setup

  1. Click Preview in GTM and enter your Shopify store URL.
  2. Perform a test purchase.
  3. In Tag Assistant, check if the Google Ads Conversion Tag fires with the correct data.
  4. In Google Ads, go to Conversions > Enhanced Conversions and check for pending data.

Purchase Test with data layer

Step 6: Publish the GTM Container

  1. If everything works correctly, click Submit in GTM.
  2. Add a version name and description.
  3. Click Publish.

GTM Tag Published

Proof of Successful Setup

Here’s a real example of a successful Enhanced Conversion tracking setup that I implemented. You can see the active tracking status in Google Ads, confirming that Enhanced Conversions are working correctly.

Google Ads Enhanced conversion proof

Conclusion

By following these steps, you’ve successfully set up Google Ads Enhanced Conversion tracking for your Shopify store’s purchase events. This setup ensures Google receives accurate first-party data, improving ad attribution and performance. If you face any issues, double-check your data layer setup and GTM configuration.

As a Conversion Tracking Expert, I have helped many businesses implement accurate tracking setups, ensuring they get the best results from their advertising campaigns.

🚀 Need Help Setting Up Enhanced Conversions?

If you need the customer pixel script, help with setup, or face any issues, I can assist you.

✅ Hire Me for Setup: WhatsApp Me

✅ Book a Consultation: Schedule a Call

For more insightful guides and tips on conversion tracking and digital marketing, check out my other Blogs Here: 

Author

Md Zubayer Islam
Marketing Data Analyst

LinkedIn
Facebook
Twitter

Leave a Comment

Your email address will not be published. Required fields are marked *