• Greetings Thomas. What a lovely tool you have made!

    My order completed page does not fire the gtm4wp.orderCompletedEEC event.
    You can see a checkout page here:

    https://www.manolisischakis.gr/cart/?add-to-cart=54322

    use coupon code: fortybird

    *if you want to perform a test transaction.

    The gtm4wp.checkoutStepEEC is firing properly. (with multiple ways-is that ok?)
    I tried many variations but none seemed to be the correct one.

    We use a direct checkout link to all our services e.g. the link above.

    We also use aero checkout (which doesn’t seem to affect the process).

    Atm, I use a thank you page built on elementor page builder. Also the plugin thanks redirect 3.0 for woocommerce.

    I do seem to get the picture. Can you please assist me with this?

    The page I need help with: [log in to see the link]

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

    (@duracelltomi)

    Hi,

    The URL of the order received page usually includes an order key as well:

    /checkout/order-received/293?key=wc_order_blablazzz

    Your URL seems to be very different:

    /order-received/?order=83426

    On the order thank you page, there are two ways for GTM4WP to output purchase data
    1. it uses the is_order_received_page() WooCommerce tag to check whether the user is on the order received page. This seems to return “no” in your case
    2. is hooks into the woocommerce_thankyou template hook which is added to most templates but this does not seem to fire as well

    There can be a 3rd reason but it is hard to catch:
    If something in the background fires the woocommerce_thankyou hook, it will mark the order as being already tracked once and when the real page is shown, it will not output purchase data to prevent tracking the order multiple times.

    Could you enable the option “Do not flag orders as being tracked” under Integration – WooCommerce? With that, we could test the 3rd case.

    Thread Starter fortybird

    (@fortybird)

    Hello Thomas!

    Thank you for your answer!

    I have enabled the option. I have also checked the data transferred on the thank-you-page. It seems that the values are transferred via the data layers which is something positive.

    On the other hand, analytics do not track transactions even after the “do not flag orders as being tracked”.

    Any ideas?

    I tried disabling the thank-you-page plugin and the order data managed to be tracked by analytics. So after some extensive reading on this forum, I noticed that you said multiple times that some plugins alter the normal operation of the plugin, which makes sense.

    Do you think it’s possible to make it work with the setup we use?

    For the record, I performed 3 calls with google tag manager support but they were not able to make it work.

    Thread Starter fortybird

    (@fortybird)

    Quick update.

    Disabling the thank-you-redirect for the woocommerce plugin seems to fix everything.

    So, Thomas, I think we found the issue.

    I will try some alternative thank-you-page customization plugin to see if I can use our design.

    If you have any suggestions please feel free to add your comments!

    Thread Starter fortybird

    (@fortybird)

    Ok. For future refference. I was using https://www.ads-software.com/plugins/wc-thanks-redirect/ which was not pulling all the values into the thank-you page.

    Switching to https://www.ads-software.com/plugins/woo-thank-you-page-nextmove-lite/ worked as it should while it let you customize your thank-you-page.

    p.s : make sure that your tag manager setup is correct by using gtm/ga debug and tag manager preview to see if gtm4wp tag are being fired on the appropriate pages.

    Again, Thomas, thank you for the awesome plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘gtm4wp.orderCompletedEEC not firing.’ is closed to new replies.