• After completing a purchase, users are redirected to the /checkout/order-received/ page of our site. We followed the steps to setup enhanced ecommerce, and its working as expected for product impressions and other events; however its not tracking purchase completion and does not fire the ecommerce dataLater on the checkout complete page.

    If I enable the plugin feature to pass order data in a data layer, I can see all the order info loading when preview/debugging my tag, but the ecommerce dataLayer still isn’t loading with all the purchase info.

    Am I missing something in the setup/configuration within Woo that is preventing this from loading? Thanks in advance for your help!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • eicoschweins

    (@eicoschweins)

    Same Problem on our site as well – dataLayer is populated with data on all steps until the final /order-received/. On /order-received/ no tracking for purchase completion is fired and no data is placed in dataLayer.

    Appreciate your help! ??

    wp-balla

    (@wp-balla)

    Hi, we followed the developer’s guide of the module:

    https://gtm4wp.com/how-to-articles/how-to-setup-enhanced-ecommerce-tracking

    at first it doesn’t seem to track purchases, then it worked but I can’t tell you honestly why! At the moment we track purchases even if the prices of the site and those displayed on Analytics do not match.
    Bye.
    Emi

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi @eorourke01 and @wp-balla ,

    If you can see the generic order data but not the enhanced ecommerce purchase data, that can be because the plugin has already flagged the order as being tracked once.

    To prevent tracking the same order multiple times, the plugin will not populate the enhanced ecommerce purchase data but still populate the generic order data in the data layer.

    Either you reloaded the page or if you are sure that you are seeing the order received page for the first time with a specific order ID, that could mean that some internal processes executed the code of GTM4WP which caused the order flagged as being already tracked despite the order received page can not be shown. I have seen such behavior for example with iDeal payment gateway.

    For those cases, there is an option “Do not flag orders as being tracked” but this will also not prevent enhanced ecommerce data to be present on subsequent visits to the same order received page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enhanced Ecommerce Purchase Tracking Issue’ is closed to new replies.