![]() |
Need help with code
Hello,
I'm trying to add a code on my website from gosquared, its said (copy the following snippet of JavaScript and paste into your site's HTML just before the closing </body> tag.) so where on my website can I add it? Any help will be appreciated. Thank you Tom |
Re: Need help with code
That would be home.tpl in the skin your site uses. YOu may also need to place the code between {literal} tags
{literal}code{/literal} |
Re: Need help with code
I still can't get it to work.
|
Re: Need help with code
Are you also putting it inside <script> ... </script> tags within the {literal} tags?
Maybe providing just a little more detail would let us help you crack this. Can you quote the code snippet you're trying to use? Also, I'm assuming you realise that X-Cart's own Advanced Statistics module can provide quite a lot of detail about who's visiting your site. And if you have CPanel hosting, you may have the wonderful Awstats package installed. John |
Re: Need help with code
Quote:
This module should never ever be used on a live site - it is a hog, it eats up resources, it grows database very fast and while it does have info it gives you very little compare to Google Analytics |
Re: Need help with code
Steve
Thanks for your guidance on this. I confess I no longer use that module myself for the very reasons you state. It doubled the size of my DB in 18 months. Nowadays my hosting at Krystal.co.uk gives me much more user-friendly output. However, the Advanced Statistics module _is_ there already in X-Cart and has the advantage for people not used to programming that it doesn't have to be coded. In fairness to X-Cart, it's pretty easy to save Advanced Statistics data output to CSV & clean it down from a menu item (Tools >> Maintenance >> Clear Statistics) every 2 or 3 months, so it doesn't necessarily have to overload the DB. John |
All times are GMT -8. The time now is 12:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.