Support » Plugin: YITH Custom Thank You Page for WooCommerce » Kills Google Analytics tracking

  • Hi,

    when the plugin is active, Google Analytics cannot track the conversion, something is spoiled by the plugin…

    What could be wrong?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,

    You have to add the Custom Thank You page. If you have a script code provided by Google you could add a code like this to your theme functions.php file.

    add_action('yith_ctpw_successful_ac','google_conv_code',70);
    function google_conv_code() {
     ?>  
     //add here Google's script
     <? 
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Kills Google Analytics tracking’ is closed to new replies.