• We are using GTM4WP for our woocommerce store tracking, after installing the plugin we can track pretty much all the events except “purchase”, when we complete checkout there is no such event that we can track using GTM.

    im using GTM4WP for so long, I don’t know why this issue is appearing.

    here is the screenshot from the GTM, when the checkout process completed: https://prnt.sc/HBL1hUvOycov

    to avoid any confusion I made at least 5 checkouts, and the result was same.

    I appreciate the time and effort, please let me know if there is any solutions or suggestions I should follow.

    Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    This happens usually if you are using another plugin that alters the default order received page in a way that breaks communication with 3rd party plugins like GTM4WP.

    Please check if you are using any such plugin.

    One other reason can be if you are using a payment gateway plugin that calls some WooCommerce functions in the background making GTM4WP to mark the order as being already tracked before the order received page is loaded. When the real thank you page is shown, the order is already marked and GTM4WP does not fire the purchase event to prevent double tracking of the same conversion. You can test this case by turning on the “Do not flag orders as being tracked” option in GTM4WP under WooCommerce settings.

    Thread Starter takibulislam

    (@takibulislam)

    Hi Thomas,
    you are right about the payment gateway plugin, I have tested it by turning on the “Do not flag orders as being tracked” and it worked for me.

    is there any way I can use both the plugin and GTM4wp together or do I have to turn that plugin off? just looking for a possible solution if we can skip that somehow.

    Thanks for your help, I appreciate your time and efforts.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Can you post which payment gateway plugin you are using?

    When the real thank you page is shown, the order is already marked and GTM4WP does not fire the purchase event to prevent double tracking of the same conversion. You can test this case by turning on the “Do not flag orders as being tracked” option in GTM4WP under WooCommerce settings.

    Where do I find this setting?

    Thread Starter takibulislam

    (@takibulislam)

    go to GTM4wp > integration > woocommerce > check at the bottom you will see the option.

    this is not solving the issue in my case

    Thread Starter takibulislam

    (@takibulislam)

    Hello Thomas,
    we have found no payment gateway plugin in our checkout page, we are using the default woocommerce payment processor.

    do you think is there any alternative we can go for?

    HI – apologies for jumping on the thread but also experiencing the same issue.

    Completely fresh GTM container after upgrading to latest version on GTM4WP.

    Stripe gateway.

    The is no ‘purchase’ event fired on either checkout or order received page and therefore my conversion tags are not being triggered.

    Trying the “Do not flag orders as being tracked” option did not change anything for me.

    The last event I can see in the data layer on checkout is “add_payment_info”.

    And on the order received page the event is: “gtm.load”. The data layers correctly contains all the order data, customer data, some payment details etc, but no purchase events.


    I’m having the same issue.
    Tried with “Do not flag orders as being tracked” but still not working.

    Please help!

    aykutaskeri

    (@aykutaskeri)

    @tictok try to fire your tags via pageview or dom ready event if the data is existing in the dataLayer

    Hi everyone,

    I’m reaching out again regarding the purchase event issue.

    I’ve double-checked that “Do not flag orders as being tracked” is enabled / disabled, but it doesn’t seem to be resolving the problem.

    For reference, our payment gateways include:
    Montonio, PaySera, cheque, COD, and proforma invoice.

    Unfortunately, the purchase event isn’t registering regardless of the payment method.

    I suspect recent Google changes, such as Cookie Consent v2, might be playing a role here.

    Has anyone else encountered this issue? Any insights or suggestions would be greatly appreciated!

    Thanks,


    Sincerely
    Sergey


    Experiencing exactly the same and also occurring since implementing Consent Mode. But there seems no logical connection. But it’s remarkable to say the least. What makes it even more confusing is that I have another webshop that has pretty much the same setup where everything is working perfectly fine.

    For anyone still struggling with the missing purchase event, or any other issues.

    There’s now a very solid and perfectly working alternative: https://www.ads-software.com/plugins/gtm-kit/

    setup took me 5 minutes, it’s even easier than GTM4WP

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.