Support » Plugin: Enhanced Ecommerce Google Analytics Plugin for WooCommerce » Custom order-received page install

  • mlegoueff

    (@mlegoueff)


    Hello,

    I’m having issues installing the plugin :

    The “usual” datas are sent to analytics with no problem. However, the ecommerce datas don’t.

    I’m using a custom order-received page. I redirect the users after a successful payment with the following code :

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    add_action( 'template_redirect', 'wc_custom_redirect_after_purchase' );
    function wc_custom_redirect_after_purchase() {
        global $wp;
    
        if ( is_checkout() && ! empty( $wp->query_vars['order-received'] ) ) {
            wp_redirect( 'https://shhaker.com/merci-de-votre-paiement/' );
            exit;
        }
    }

    I gess the problem comes from the fact that the eCommerce tracking code is set at the default order-received page.

    Could you give me the code that is set on the default Thank you page with your plugin, so I can copy it to my own order-received page?

    Thanks in advance,

    Maxime

    https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/

    [ No bumping please. ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    We have a case with the same problem.

    Little help would be appreciated. Nice day.

    Plugin Author Tatvic

    (@tatvic)

    Hi mlegoueff/Alexandru Linca,

    Thank you for your patience!

    We request you to share the store URL with the plugin installed, at analytics2(at)tatvic(dot)com, so that we can make our plugin work well on it.

    Looking forward to your reply.

    Thanks 🙂

    Has this issue been resolved? What is the solution? Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom order-received page install’ is closed to new replies.