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...
Carolina Custom Designs Posted April 12, 2012 Share Posted April 12, 2012 Google Remarketing Code??? Marty Shue Link to comment Share on other sites More sharing options...
Ansl72 Posted April 16, 2012 Author Share Posted April 16, 2012 yes is a code from google adwords please visit http://support.google.com/adwords/bin/answer.py?hl=en&answer=2453998 Link to comment Share on other sites More sharing options...
Ansl72 Posted April 16, 2012 Author Share Posted April 16, 2012 This is the code {literal} <!-- Google Code for Visitatori al sito Remarketing List --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = numid; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "valore"; var google_conversion_value = 0; /* ]]> */ </script> <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js " </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/1004151396/?label=Uj4dCJyX0gIQ5MTo3gM&guid=ON&script=0"/ > </div> </noscript> {/literal} Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted April 16, 2012 Share Posted April 16, 2012 You need to insert this on your shopping cart and confirmation pages. This might vary depending on what payment method you are using. Marty Shue Link to comment Share on other sites More sharing options...
Ansl72 Posted April 16, 2012 Author Share Posted April 16, 2012 Hi it is not necessary to insert in confirmation page! this code has to be inserted in each page for this reason I thought to insert it in the file header.tpl but though I put it between the tag {iteral} {/literal} I have visualization problems pratically the header disappeared. please help me! Angelo Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted April 16, 2012 Share Posted April 16, 2012 If you are tracking conversions you will need to add it to your confirmation page. Is that not what you are doing? Marty Shue Link to comment Share on other sites More sharing options...
Ansl72 Posted April 17, 2012 Author Share Posted April 17, 2012 Hi this is not the "Conversion tracking Code", but "Remarketing Code" and must be placed on all pages, I tried to put it in footer.tpl and I have to check if it's okay thanks Angelo 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...
Radiator Posted May 31, 2012 Share Posted May 31, 2012 Does anybody have solution for this already? I want to insert remarketing code to contact page and to one category. Thanks Link to comment Share on other sites More sharing options...
rui_h Posted January 8, 2014 Share Posted January 8, 2014 i have the same problem! someone can help me? Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 just edit the footer.tpl file and paste there code you've got from google. don't forget about {literal}{/literal} tags 2 Link to comment Share on other sites More sharing options...
eduard02 Posted August 10, 2014 Share Posted August 10, 2014 just edit the footer.tpl file and paste there code you've got from google. don't forget about {literal}{/literal} tags Hi. How to insert if I want to follow just one category with google code? It's ok to put in category description? Thank you. Link to comment Share on other sites More sharing options...
vekia Posted August 10, 2014 Share Posted August 10, 2014 by one category you mean category page? or also all suncategory pages associated with this category? (the same with products associated with this category?) Link to comment Share on other sites More sharing options...
eduard02 Posted August 10, 2014 Share Posted August 10, 2014 by one category you mean category page? or also all suncategory pages associated with this category? (the same with products associated with this category?) just category page. Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2014 Share Posted August 11, 2014 {if isset($smarty.get.id_cat)} {if $smarty.get.id_cat=='5'} // code here {/if} {/if} where 5 is an id of category how to get category id 1 Link to comment Share on other sites More sharing options...
eduard02 Posted August 12, 2014 Share Posted August 12, 2014 Thank you, works great! {if isset($smarty.get.id_cat)} {if $smarty.get.id_cat=='5'} // code here {/if} {/if} where 5 is an id of category how to get category id Link to comment Share on other sites More sharing options...
sduran Posted November 16, 2015 Share Posted November 16, 2015 I have a problem with Remarketing code in prestashop. My page is http://www.skyway.mx i the Google Tag Assistant find an Error in Remarketing Tag "URL s not pasable" I Intall correctly with literal, in the footer.tlp (prestashop 1.6) in other pages appear correctly installed: http://skyway.mx/basicos/9-sky-dancer-rotulado.html I think google stop tracking this visitors. Link to comment Share on other sites More sharing options...
tuk66 Posted November 17, 2015 Share Posted November 17, 2015 You should use a module to add the remarketing code. I have seen incomplete advice (missing parts) as well as a problem with JavaScript optimalization (CCC). Link to comment Share on other sites More sharing options...
Recommended Posts