• pablog

    (@pablogutierrez)


    Hi,

    First of all, thanks for such a FANTASTIC plugin. It has been been very useful for us.

    Second, as a few users say, we are not getting the transactions in Google Analytics Enhanced Ecommerce. We read the documentation of the top reasons and we believe it’s related to the reason #1: Payment gateway doesn’t return to website.

    However, we see that when users end the checkout process, they are send to a URL inside WooCommerce with /order-pay in the URL before being sent to the external gateway.

    We would like to know if we can add in order-pay page the Google Analytics Enhanced Purchases code and be able to make it work? https://developers.google.com/analytics/devguides/collection/ua/gtm/enhanced-ecommerce#purchases

    Or is there any other alternative you recommend?

    Thanks for your help and time.

    • This topic was modified 3 years ago by pablog.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pablog

    (@pablogutierrez)

    Hi,

    When doing some tests, I see inside Google Tag Manager that the plugin starts the checkout steps in the cart (that’s perfect), then continues to checkout as step #2 (that’s also perfect) and when a user submits the order gets to the order-pay page as step #2 again.

    Maybe we can work with these checkout steps to make the order-pay as the transaction completed page?

    Hope this helps.

    Thanks again.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Pablog,

    Thanks for doing this research to identify opportunities to improve tracking accuracy.
    My only concern with the order pay page is that it shows up *before* the user is redirected to the payment gateway. With that, it could happen that the payment is cancelled and the order will be cancelled as well payed using another payment method.

    Wouldn’t it be worse to have transactions in GA that weren’t actually paid thus increasing the revenue without actual income?

    What I could rather imagine is some sort of background process:
    – let plugin users to remove gtm4wp.orderCompletedEEC from GTM tracking (but keep the event working to support other tag types)
    – store customer’s GA cookie ID as order meta (involves GDPR questions)
    – use action scheduler to periodically run a script from GTM4WP
    – in this script, query all orders that have been completed and not tracked yet
    – send transaction data using GA measurement protocol

    With that, transaction tracking will be less real time in GA but more accurate.

    Thread Starter pablog

    (@pablogutierrez)

    Hi @duracelltomi ,

    Thanks a lot for your help.

    You are right, tracking the purchase as completed before the succesful payment could be innacurate. However, the other option you mention is very advanced for us right now.

    If we set the order-pay as the completed transaction page, should we remove gtm4wp.orderCompletedEEC from GTM?

    Thanks again for your help.
    Pablo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alternative for zero transactions?’ is closed to new replies.