• I have a client that raises and sells puppies https://hopefuldreamsfamilypuppies.com/checkout. We use a deposit plugin that only requires a $199 deposit for every puppy order placed. The problem is, this $199 is passed to GTM as the order total instead of the actual total. Is there some way to get around this and pass the product total to GTM?

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

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

    (@duracelltomi)

    Hi,

    GTM4WP passes the “order total” value to GTM, so you have two options:

    1) use a WP hook to change what order total is being reported by WooCommerce, it will be then sent to GTM as well
    2) use the gtm4wp_compile_datalayer WP filter of GTM4WP to catch the ecommerce data in the data layer when the order completed page is being loaded and update ecommerce->actionField->revenue as you need. It will be used to generate the GA4 ecommerce object as well

Viewing 1 replies (of 1 total)
  • The topic ‘How do I capture full Woocommerce order total when only deposit taken?’ is closed to new replies.