• Andreas

    (@stylingagenten)


    After updating to GTM4WP v1.21, the purchase event no longer appears in the dataLayer on the thank you page. The woocommerce_thankyou hook is definitely running (I’m using it for other custom events successfully), but GTM4WP is not outputting any purchase data.

    I’ve confirmed:

    • “Track transactions” is enabled
    • Caching is disabled (tested without WP Rocket)
    • The thank you page is the standard WooCommerce page (/order-received/)
    • No custom thankyou.php template is used
    • Order status is processing

    Other eCommerce events from GTM4WP (like begin_checkout) work as expected.

    Would appreciate any help identifying why the purchase event is being skipped. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Andreas

    (@stylingagenten)

    It is not solved for me, but I did roll it back to version 1.20 until it is solved

    Thread Starter Andreas

    (@stylingagenten)

    I use free plugin called WP Rollback

    Plugin Author Thomas Geiger

    (@duracelltomi)

    You could try two things with 1.21.x

    1. There is an option under Integration => WooCommerce called “Do not flag orders as being tracked”. Try to turn this on and check the purchase event
    2. Try to increase “Only track orders younger than” setting to a high number

    If any of you has a webshop where I can place a test order without real payment (like cash on delivery or money transfer), I am happy to have a look at it.

    Moderator Support Moderator

    (@moderator)

    If you are not the person who started this topic and if you need support then per the forum guidelines please start your own topic.

    https://ww.wp.xz.cn/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    The many “I have this problem too” replies have been removed.

    cmyker

    (@cmyker)

    DELETED

    • This reply was modified 1 year ago by cmyker.
    • This reply was modified 1 year ago by cmyker.
    • This reply was modified 1 year ago by cmyker.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Update dont trigger purchase’ is closed to new replies.