E-com tracking with custom cart & thankyou-page
-
Hi,
First of all GREAT plugin! Really facilitates the implementation of Tag Manager and more advanced tracking.
I have a problem though, related to me using a third party payment solution (Klarna Checkout) on my Woocommerce store. I need to use a custom checkout page where an iframe is implemented.
By changing “if ( is_cart()” to “if ( is_cart() || is_page( 111 ) )” in the plugin code I can make the plugin recognize the custom checkout-page.
Same solution does not however work for the “Order Recieved”-page (where it pushes transaction data to the dataLayer). The plugin does not seem to recognize that page even if I add eg. “|| is_page( 112 )” to the plugin code.
Do you know if it is possible to use this plugin on my site for E-commerce use, or do I need to find another way of solving this?
Thanks,
Johanhttps://wordpress.org/plugins/duracelltomi-google-tag-manager/
- The topic ‘E-com tracking with custom cart & thankyou-page’ is closed to new replies.