abombazza Posted May 16, 2014 Share Posted May 16, 2014 Hi at all, i see that for adding this tag i need to put it into order-confirmation.tpl. But, at which line ? just wrap the code between {literal} {/literal} ? (using prestashop 1.5.6) Thank you in advance Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 can you show what you exactly have to add? (show code please) Link to comment Share on other sites More sharing options...
abombazza Posted May 16, 2014 Author Share Posted May 16, 2014 This is the code : <!-- Google Code for conversione Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = xxxxxxxxx; var google_conversion_language = "en"; var google_conversion_format = "x"; var google_conversion_color = "xxxxxx"; var google_conversion_label = "xxxxxxxxxx"; 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/xxxxxxxxxx/?label=ZX7YCMuWiAgQ5b_7zgM&guid=ON&script=0"/> </div> </noscript> Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 take a look on these variables; var google_conversion_id = xxxxxxxxx; var google_conversion_language = "en"; var google_conversion_format = "x"; var google_conversion_color = "xxxxxx"; var google_conversion_label = "xxxxxxxxxx"; var google_remarketing_only = false; instead of xxxx you have to use correct values, have you got them? so as you can see it's not as easy as it seems :-) Link to comment Share on other sites More sharing options...
abombazza Posted May 16, 2014 Author Share Posted May 16, 2014 Yes...i write xxxxxx only for privacy. A parte this...how can inserti this code on The file? Thank you Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 go to order-confirmation.tpl file and use this code: {literal} <!-- Google Code for conversione Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = xxxxxxxxx; var google_conversion_language = "en"; var google_conversion_format = "x"; var google_conversion_color = "xxxxxx"; var google_conversion_label = "xxxxxxxxxx"; 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/xxxxxxxxxx/?label=ZX7YCMuWiAgQ5b_7zgM&guid=ON&script=0"/> </div> </noscript> {/literal} Link to comment Share on other sites More sharing options...
abombazza Posted May 23, 2014 Author Share Posted May 23, 2014 thank you Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2014 Share Posted May 24, 2014 note that some modules uses own confirmation controllers, in this case you will have to modify these controllers and module .tpl files. 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