A user is struggling to connect Google Tag Manager (GTM) with their Shopify store to track Google Ads conversions using the new Customer Events system. They’ve implemented a custom pixel with dataLayer code for checkout completion tracking but are unsure about the GTM configuration.
Key technical guidance provided:
DataLayer approach concerns: One responder warns that the current dataLayer implementation cannot be previewed in GTM and requires console-based verification. They recommend creating dataLayer variables for value, currency, transaction ID, email, and phone, then setting up a custom trigger for “checkout_completed” and a Google Ads conversion tag.
Code improvements: Another contributor suggests modifying the JavaScript to ensure dataLayer exists before pushing events and recommends using GTM Preview mode to verify event firing and variable population.
Basic setup verification: A third response provides links to installation guides, emphasizing correct placement of GTM code snippets after the <head> and <body> tags.
Testing recommendations: Use GTM Preview mode, complete test checkouts, and verify that custom events and conversion tags fire correctly with all variables populated.
Multiple screenshots were shared showing working GTM configurations, including purchase event triggers, tags, and dataLayer structures.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
I have Google tag manager that connects with my Google Ads account to track conversions. The setup is so confusing with the new Customer Events. Can someone please help?
I’m not sure if I have to do anything else on the Google Tag Manager to accept these events? If anyone is an expert at this, please message me directly.
I can see you have added the GTM code with the datalayer. Connect the custom pixel with shopify and preview the website if the thank you page connect with GTM then you can track the events.
The datalayer you are using is not possible to preview it in GTM. you have to check the events and event data from the console.
If you get the event in the console as data layer event create the datalayer variables based on your data layer structure.
For Google ads you would need value, currency, transaction id, email, phone variables.
Create the trigger as checkout_completed.
Now create a Google ads conversion tag using the template and assign these variables as event parameters and trigger to fire the events.
Many of my clients had issues with this Data layer that is why i do not recommend this from my experience. Yet if you want to do it by yourself, you can try.
I have added some of my work samples that work the best for Shopify.
Follow the link here, and you’ll find two code snippets:
First code snippet → Add it right after the tag (see the exact position in this screenshot).
Second code snippet → Add it immediately after the tag. Be careful here—many people make mistakes. The tag can be long and contain other attributes. Just insert the code right after the > symbol (see this screenshot).