Ansl72 Posted April 12, 2012 Share Posted April 12, 2012 Hi all I would know how to insert the Google Remarketing Code in prestashop? and in which file? thanks in advance Angelo Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 12, 2012 Share Posted April 12, 2012 Hi, the script has to be in the <body></body>. You need to edit the templates of the pages where you want to have the Google Remarketing Code. If you want it on all pages you can insert it in the header.tpl or footer.tpl You should also use {literal}{/literal} . Link to comment Share on other sites More sharing options...
Ansl72 Posted April 14, 2012 Author Share Posted April 14, 2012 Hi, I tried to insert the code in the file header.tpl using {literal} tags, but this way the header disappears! Link to comment Share on other sites More sharing options...
Ansl72 Posted April 16, 2012 Author Share Posted April 16, 2012 Up please someone help me! Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 16, 2012 Share Posted April 16, 2012 Please post the code you tried to insert. Link to comment Share on other sites More sharing options...
petrovv Posted April 16, 2012 Share Posted April 16, 2012 False!: <!-- Google Code for Purchase Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1234567890; var google_conversion_language = "en_US"; var google_conversion_format = "1"; var google_conversion_color = "666666"; var google_conversion_label = "Purchase"; if (10.0) { var google_conversion_value = 10.0 } /* ]]> */ </script> <script type="text/javascript" src="http://www.googleadservices.com/pagead/ conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/ conversion/1234567890/ ?value=10.0&label=Purchase&script=0"> </noscript> sample perhaps true: <script type="text/javascript"> {literal} /* <![CDATA[ */ var google_conversion_id = 1234567890; var google_conversion_language = "en_US"; var google_conversion_format = "1"; var google_conversion_color = "666666"; var google_conversion_label = "Purchase"; if (10.0) { var google_conversion_value = 10.0 } /* ]]> */ {/literal} </script> <script type="text/javascript" src="http://www.googleadservices.com/pagead/ conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/ conversion/1234567890/ ?value=10.0&label=Purchase&script=0"> </noscript> Link to comment Share on other sites More sharing options...
Nanuk Posted April 24, 2012 Share Posted April 24, 2012 Hi there! Someone has understood how to do it? Thanks! 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