Zen Cart Logo
Forums / General Questions / visitor stats

visitor stats

Locked

Views: 1,337

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
5 May 2010, 1:15 PM
#1
dunchutch avatar

dunchutch

New Zenner

Join Date:
Jan 2010
Posts:
13
Plugin Contributions:
0

visitor stats

hi all,

Just wondering if anyone here has any suggestions as to site visitor statistic software that works well for them? Obviously Zencart gives you info on customers and basic visits but if I want more what would anyone advise me to use? Is there an addon or is it best to use a separate piece of software?

thanks
duncan

5 May 2010, 1:26 PM
#2
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: visitor stats

For nothing, you can use Google WebmasterTools and Google Analytics. They both provide a wealth of data about your site and indexing, as well data on your visitors and their actions.

Don't forget Yahoo SiteExplorer for more information about links, and Bing WebmasterTools with some useful information too.

5 May 2010, 1:39 PM
#3
dunchutch avatar

dunchutch

New Zenner

Join Date:
Jan 2010
Posts:
13
Plugin Contributions:
0

Re: visitor stats

hi thanks for that - I am putting google analytics on now. where do I paste the code it has said needs to be on all pages?

thanks
duncan

5 May 2010, 1:50 PM
#4
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: visitor stats

It needs to go at the bottom of served HTML pages, just before the closing </body> tag, so that is does not delay the page from displaying in the browser.

There's a ZC add-on to add the code for you, or you can manually edit the appropriate file.

5 May 2010, 1:52 PM
#5
dunchutch avatar

dunchutch

New Zenner

Join Date:
Jan 2010
Posts:
13
Plugin Contributions:
0

Re: visitor stats

ok, I have put in into 'tpl_footer.php' is this correct? sorry to sound stupid!

5 May 2010, 1:59 PM
#6
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: visitor stats

I usually add it directly after <!--eof- site copyright display --> in that file.

In Google analytics I also like to set two filters: one which shows page views only on the site's own domain, and another which shows page views only on other domains.

This latter profile will show searchengine cache pageviews as well as views of scraped copies of the site's pages.

5 May 2010, 2:17 PM
#7
dunchutch avatar

dunchutch

New Zenner

Join Date:
Jan 2010
Posts:
13
Plugin Contributions:
0

Re: visitor stats

thankyou very much indeed for your help. could I just ask one more question before you get sick of me?!

The code I have added is

<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-16234532-1"); pageTracker._trackPageview(); } catch(err) {}</script>

is this the right one? I have just noticed something about php pages which is different...

thanks in advance
duncan

5 May 2010, 2:43 PM
#8
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: visitor stats

That looks good.

5 May 2010, 2:46 PM
#9
dunchutch avatar

dunchutch

New Zenner

Join Date:
Jan 2010
Posts:
13
Plugin Contributions:
0

Re: visitor stats

g1smd:

That looks good.

You are a a star! thanks very much
duncan