• 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,
    Johan

    https://wordpress.org/plugins/duracelltomi-google-tag-manager/

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

    (@duracelltomi)

    Hi Johan,

    Sorry for the late reply.

    I did not expect such special circumstances while creating the plugin.
    There is an is_order_received_page() call just below the is_cart() section. Have you tried adding your “|| is_page(112)” here?

    Cheers,
    Thomas

Viewing 1 replies (of 1 total)
  • The topic ‘E-com tracking with custom cart & thankyou-page’ is closed to new replies.