koening Posted June 7, 2017 Share Posted June 7, 2017 (edited) Witam Mógłby mi ktoś pomóc w rozwiązaniu poniższych problemow, które pojawiły się w google tag assistant? Chciałem śledzić konwersje i w pliku order-confirmation.tpl umieściłem taki kawałek kodu: <script type="text/javascript"> /* <![CDATA[ */ {literal} var google_conversion_id = XXXXXXXX; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "XXXXXXXX"; if ( {/literal}{$name_of_cart_value_variable}{literal} ) { var google_conversion_value = "{/literal}{$name_of_cart_value_variable}{literal}" var google_conversion_currency = "{/literal}{$name_of_currency_variable}{literal}" } var google_remarketing_only = false; {/literal} /* ]]> */ </script> <script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/XXXXXX/?value={$name_of_cart_value_variable}&conversion_currency={$name_of_currency_variable}&label=Purchase&script=0"/> </div> </noscript> W google tag assistant wyskakują mi takie błędy: Edited June 7, 2017 by koening (see edit history) Link to comment Share on other sites More sharing options...
koening Posted June 7, 2017 Author Share Posted June 7, 2017 (edited) Poradziłem sobie z dwoma błędami ale został mi jeszcze jeden "No HTTP response detected". Ma ktoś jakiś pomysł?. Problem rozwiązany poprzez wyłączenie na zapleczu w wydajnosci > Disable "move javascript to the end" > Disable "Compress inline javascript to HTML" Edited June 7, 2017 by koening (see edit history) Link to comment Share on other sites More sharing options...
e_com Posted June 13, 2017 Share Posted June 13, 2017 (edited) Spróbuj tym modułem: https://www.prestashop.com/forums/topic/554808-free-module-google-adwords-conversion-tracking/ Bo wyłączenie CCC to nie jest dobry pomysł. Edited June 13, 2017 by e_com (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now