I’m encountering an issue with server-side tracking during checkout implementation. While everything works properly on regular pages, I’m not receiving any data in the checkout. I understand that GTM debug mode for web events doesn’t work in checkout, but I’m also not seeing any server-side events coming through, which usually works fine with other clients. I have implemented the Stape checkout script via custom events.
I’ve noticed that dataLayer events aren’t being pushed either, and I’m getting the following console error:
This is either because the event tag is loaded before the configuration tag. Or because the gtag is initialised multiple times, i.e. you may have active integration with GA4 in the Google app on Shopify which overwrites your configuration made in GTM.
Data layer I see working without problems, so that seems to be the problem:
Yesterday Stape was activated for Cabau. Overall everything seems to work correctly. We only have issues with Google Ads. I don’t see any conversions and/or value coming in for the events that were setup. I do see that add_to_cart and begin_checkout are activated while testing. These are also set to “active” but don’t show any conversions, while this is a client with plenty of traffic and ads budget. Purchase GTM isn’t set to active and I don’t see the GA4 client event while testing. Server side data tag events are being triggered properly. Can you please help me with this one?
You can’t help with this without access, I would recommend contacting any tracking specialist who will do an audit of this.
Two likely causes:
Problems with consent configuration if you are using a consent banner.
Problem is that GA4 plugin/integration is active which overwrites the config and because of this GA events are sent directly instead of through your sGTM. This leads to Google ADS tags not working.