appliances Posted August 19, 2013 Share Posted August 19, 2013 I was wondering if there is a way to add in a piece of coding on Prestashop where it adds to all the pages. I am trying to add a smart pixel code in order to advertise with a company. I need to add it right before the closing </body> on every page. Any help would be appreciated. Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 in this case you can edit footer.tpl file located in your theme directory. just put the pixel code right before the </body> tag there if you don't want to edit the theme files, you can use free addons like html block module free content box these module allows to insert code into the footer section, right before the closing </body> tag 1 Link to comment Share on other sites More sharing options...
appliances Posted August 19, 2013 Author Share Posted August 19, 2013 Thank you so much, I have added the code I am just waiting for it to take effect. Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 thanks for information if you will have any questions - feel free to write i answer with pleasure 1 Link to comment Share on other sites More sharing options...
alex.ch Posted April 21, 2015 Share Posted April 21, 2015 Hello, I want to add the adroll smart pixel on my website but I don't understand how to do it. As I am new to this, could someone help me step by step? appreciate the help. Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Open /themes/your_theme/footer.tpl file in a text editor (PSPad, Notepad++ on Windows) and insert your code just before closing </body>. Link to comment Share on other sites More sharing options...
alex.ch Posted April 22, 2015 Share Posted April 22, 2015 Thank you for the answer. How can I Open /themes/your_theme/footer.tpl file in a text editor? Also after, how will my site be linked with the smart pixel?I don't understand, sorry for the load of questions Link to comment Share on other sites More sharing options...
alex.ch Posted April 22, 2015 Share Posted April 22, 2015 I have also downloaded the content box module. Where should I insert the code for the smart pixel? Link to comment Share on other sites More sharing options...
Recommended Posts