I am after the best place to insert a hit counter (not Zens)
One that gives much more detailed information, I have a code from http://sv1.webvisitor.info/Members/default.aspx
its an invisible one so that helps a bit.![]()
I am after the best place to insert a hit counter (not Zens)
One that gives much more detailed information, I have a code from http://sv1.webvisitor.info/Members/default.aspx
its an invisible one so that helps a bit.![]()
you would put it in the tpl_footer.php
located in the common folder of your template,
if your after more than a hit counter take a look at this
http://soft.zoneo.net/phpTrafficA/
Zen cart PCI compliant Hosting
Hi
Thanks for that
My memory is going
I'd like to use StatCounter, but their installation instructions read, "insert the StatCounter code anywhere between the <body> and </body> tags".
But I don't see body tags in the tpl_footer.php code.
Where should I put it? At the very end?
If possible, get a Google Analytics account, it's simply the best.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Thanks for the tip! I signed up for an account, but I still have the same problem of where to place the code in the tpl_footer.php file since there is no body tag.
I guess I'll just put it at the bottom of the code and see if that works ......
For anybody else who comes along with the same question as me, I placed it at the end of the code and it works. Also I decided to stick with StatCounter because it tracks in real time whereas it appears that Google Analytics takes 24 hours to update. I'm impatient.![]()
Just for your information, those things can slow down your site, so I would just use either one.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
I just added statcounter code to my site. I know it can slow it down a bit, but I think its worth it.
If anyone was having problems finding the tpl_footer.php file, I found it in
includes\templates\template_default\common
Dan
I'm trying out StatCounter too. I put the StatCounter code on the footer.php but it looks like it logs only the homepage stats. Which files do I have to add the code to to get stats on all pages?