tarmouti Posted March 9, 2015 Share Posted March 9, 2015 (edited) Hi! I was looking for solution, but I haven't found it... The problem is that I always receive "No HTTP response detected" error while trying to put GA Tag. I tried to put it between {literal}{/literal} in footer.tpl. I found other "solution" like: <script type="text/javascript" data-keepinline="true"> // this script will remain here when rendered alert( "hello!" ); </script> By data-keepinline I meant this solution https://gist.github.com/hereswhatidid/8c8edef106ee95138b03. But still the same... It makes me mad and I'll be very very glad if you could help me. Code looks like this: <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = XXX; var google_conversion_language = "en"; var google_conversion_format = "X"; var google_conversion_color = "ffffff"; var google_conversion_label = "XXX"; var google_conversion_value = XXX; var google_conversion_currency = "XXX"; var google_remarketing_only = false; /* ]]> */ </script> <script type="text/javascript" src="//<a href="<a href="http://www.googleadservices.com/pagead/conversion.js" target="_blank">http://www.<WBR>googleadservices.com/pagead/<WBR>conversion.js</a>"><a href="http://www.googleadservices.com/pagead/conversion.js" target="_blank">www.<WBR>googleadservices.com/pagead/<WBR>conversion.js</a></a>"> </script> <noscript> <div style="display:inline;"> //more... </div> </noscript> How to make it executable correctly? PS version is 1.6.0.8. Edited March 9, 2015 by tcovoc (see edit history) Link to comment Share on other sites More sharing options...
cedric_charles Posted March 3, 2016 Share Posted March 3, 2016 Hello TCOVOC ! Any luck with that ? I have the same problem... Thank you in advance ! Link to comment Share on other sites More sharing options...
tuk66 Posted March 8, 2016 Share Posted March 8, 2016 Try <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 11111111111; var google_conversion_language = "en"; var google_conversion_format = "2"; var google_conversion_color = "ffffff"; var google_conversion_label = "_xxx"; var google_conversion_value = 1.00; var google_conversion_currency = "EUR"; var google_remarketing_only = false; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/11111111111/?value=1.00¤cy_code=EUR&label=_xxx&guid=ON&script=0"/> </div> </noscript> Link to comment Share on other sites More sharing options...
headscarvesbyciara Posted February 12, 2017 Share Posted February 12, 2017 Any solution for this. I am trying to add Trustpilot AFS json code to email templates? Link to comment Share on other sites More sharing options...
Recommended Posts