artway Posted January 5, 2015 Share Posted January 5, 2015 Hi, Is anyone experienced with Leadsius java script Tracking Code installation? The original instruction tells how to install it to html files. How can I add it to PrestaShop template? I appreciate your comments. Artway ..............................................................Instruction how to Install Tracking Code to html filesCopy the below code and Paste it into every web page you want to track, just before the closing </body> tag. If your website uses templates to generate pages, enter it just before the closing </body> tag in the file that contains the <body> section. If you're not responsible for maintaining the web site, send the script and instructions to the person responsible. <script type="text/javascript"> var lsBaseURL = (("https:" == document.location.protocol) ? "https://tracker.leadsius.com/djs/" : "http://tracker.leadsius.com/djs/"); document.write(unescape("%3Csc ript src='" + lsBaseURL + "tracker.js?_k=baabd85176d30830cdade9cce9862db9eb162e02' type='text/javascript'%3E%3C/script%3E")); </script> .............................................................. Link to comment Share on other sites More sharing options...
Elaine Leung Posted January 6, 2015 Share Posted January 6, 2015 I set up Google APIs Console, past the required information in module Administration Google Analytics API v1.0.3 - by PrestaShop and Analytics and Stats Google Analytics v2.0.4 - by PrestaShop - Official Gain clear insights into important metrics about your customers, using Google Analytics Link to comment Share on other sites More sharing options...
artway Posted January 6, 2015 Author Share Posted January 6, 2015 Hi Elaine, Thank you very much for your advise. Is it a different solution and a better one than the Leadsius or similar one? Best Link to comment Share on other sites More sharing options...
Elaine Leung Posted January 7, 2015 Share Posted January 7, 2015 Suppose it gives the same result, you get the information from Google Analytics Account and Google console API. Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2015 Share Posted January 9, 2015 anyway, to use this code in proper way paste it before the </body> in footer.tpl file located in your theme directory Link to comment Share on other sites More sharing options...
Elaine Leung Posted January 9, 2015 Share Posted January 9, 2015 (edited) Hi I want to know if the use of code paste before the </body> in footer.tpl better than use Google Analytics module please? Edited January 10, 2015 by Elaine Leung (see edit history) Link to comment Share on other sites More sharing options...
artway Posted January 10, 2015 Author Share Posted January 10, 2015 Hi Vekia, I did it (pasted it before the </body> in footer.tpl file located in your theme directory) at the very first time with no result. Any clue? Thank you Link to comment Share on other sites More sharing options...
Recommended Posts