Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey everyone,
I'm trying to track purchases in GA4 using Google Tag Manager, but I lose tracking once someone enters the checkout process, up until the purchase is completed. I followed the steps outlined by FeedArmy (source: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/), but it's still not working as expected. The purchase event also doesn’t show up in the GTM preview.
Has anyone else encountered this issue? Any advice or assistance would be greatly appreciated.
Best regards.
Hello Easy-Stripes,
Thanks for your query.
It is not possible to connect GTM with the Shopify checkout page. Still, it is possible to track the purchase event with the right Data layer codes.
previously we could place the data layer in the checkout page. But now in customer event custom pixel. As it works in sandbox enviroment you can not preview the page in GTM nor the tag firing. still you can track the purchase.
I have been tracking the purchase event for long days creating custom datalayer.
for reff: check the attachments.
feel free to ask if you have any questions related to purchase tracking through GTM and for any platform.
or
if you need any expert assistance don't hesitate to send me PM.
Thanks
Hello Sam,
Thank you for the quick reply! Could you guide me on how to track the purchase event in GTM? Also, how can I view it in GA4? After submitting the form, I can no longer view or connect.
Thanks in advance.
Best regards.
This is all about the technical process. It is like assembling the parts.
To track the purchase event we would need to create a bunch of variables and triggers and create the datalayer. so it is not possible to guide you A to Z within one hour or two hours.
It takes time and effort to implement.
We can have a discussion and demonstrate to you everything needed.
Thanks
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024