ZuZu Posted September 15, 2009 Share Posted September 15, 2009 Hi,Would it be possible to enter the vistor tracking code from Statcounter.com in Prestashop? If so, in what file and where do I paste it? The script type is text/javascript. Thanks! Link to comment Share on other sites More sharing options...
jhnstcks Posted September 15, 2009 Share Posted September 15, 2009 I added mine at the end of the header.tpl file and it worked fine, the only problem is that if you are using SSL it will give an unsecure data warning.The secure statcounter code is available only to those who pay to upgrade their account. 1 Link to comment Share on other sites More sharing options...
ZuZu Posted September 15, 2009 Author Share Posted September 15, 2009 Working! :wow: Thank you! Link to comment Share on other sites More sharing options...
aimrob Posted October 24, 2011 Share Posted October 24, 2011 This helped me too. Thanks very much! Link to comment Share on other sites More sharing options...
Akallprints Posted February 24, 2012 Share Posted February 24, 2012 Thanks...Nice Info Link to comment Share on other sites More sharing options...
tranfy Posted July 12, 2012 Share Posted July 12, 2012 very useful! Thank you very much! Link to comment Share on other sites More sharing options...
FranksBank Posted January 15, 2014 Share Posted January 15, 2014 Just to throw a pebble in the water on this one, from past experience with Statcounter the code ought to be placed just before the closing "body" tag of the 'page', to get it as far after the rest of the code as possible. With that in mind, placing the code in footer.tpl might be a better idea. Statcounter advice suggests this too: http://statcounter.com/support/knowledge-base/230/?PHPSESSID=9c51af8d6c209a91ffd7e6777e35185a. Shame the addon mentioned there doesn't seem to be around anymore... Link to comment Share on other sites More sharing options...
dooofox Posted March 10, 2014 Share Posted March 10, 2014 i paste the code on the [public_html/themes/YourThemeName/footer.tpl] file, and it works, that statcounter.com shows up " Code Detected| Link to comment Share on other sites More sharing options...
Infos Posted April 6, 2014 Share Posted April 6, 2014 I tried to insert statcounter code in footer.tlp, but the statcounter code is not shown in the webshop html code. Any idea why ? footer.tlp: ... <!-- Footer --> <div id="footer">{$HOOK_FOOTER}</div> </div> {/if} <!-- Start of StatCounter Code for Default Guide --> <script type="text/javascript"> ... <!-- End of StatCounter Code for Default Guide --> </body> </html> 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