Learn business growth with Google Analytics 4 Forums Google Analytics 4 Trouble with GTM Ecommerce Conversion Tracking in GA4

  • Trouble with GTM Ecommerce Conversion Tracking in GA4

    Posted by Lucas on 23 February 2023 at 3:27 am

    Hey folks, I’m a newbie to GTM and I’m straggling a bit with getting ecommerce conversion tracking working on GA4. Here’s how it looks in debug mode in GTM – the tag just isn’t firing. Any ideas what might be going wrong?

    1

    2

    I’ve tried hard to figure this out: doing my research, checking out the source code, chatting to the developer who popped the GTM container on the site, going through the tag again… but I’m still none the wiser. Any tips?

    Jack replied 11 months, 2 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • Logan

    Member
    17 May 2023 at 7:08 am

    Hey there! It looks to me like the trigger is waiting for a add_to_cart datalayer event. What this means is that you need your developer to create a datalayer event with the ecommerce item when a user successfully performs an add_to_cart event. There are useful details about all ecommerce events and their datalayers on the Google Developers site [here](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm).

    To give you a sense of your progress, you’ve already done half the job – you’ve set up the Google Tag Manager to GA4, and it’s now just waiting for the datalayer from the developer.

    Here’s an image that might help you grasp the overall process of tracking:

    In this image, the green part is what you’ve already completed. Now it’s a matter of you exploring the following:

    A. Has your developer implemented the Datalayer code? If yes, is there anyone who could verify it? B. Or perhaps your developer didn’t quite understand the concept and purpose of the Datalayer code, in which case, they might need to revise when the code needs to be triggered.

    Overall, it seems like you’re on the right track, just a few more steps to go!

  • Jack

    Member
    9 June 2023 at 10:29 pm

    It looks like your issue may be related to the trigger setup. I would suggest you double-check it. The trigger settings should be correctly configured to fire on the appropriate event or page, make sure the eCommerce transaction data is accessible when the tag fires. Another point could be the Data Layer configuration, ensure it’s set up properly and providing the correct transaction details. Most of the time, if a tag isn’t firing, it’s one of these two things.

Log in to reply.