Page 1 of 1

Statistics extension problems

Posted: Thu Jul 30, 2009 12:24 pm
by Jackson
Running our website from cms ms, on a .com site and then on 12 country sites, I added the following code to capture statistics.

{cms_module module='Statistics' what="day" what="week" what="month"
what="total" what="online" what="pageviews what="thispageviews"
what="toppages" what="visitorip" what="visitorcountry"
what="lastreset"}

I was informed to add this code to the very top of the content section of all pages which I wished to be monitored.

Now whenever I try to view the statistics the page does not open.

A couple of questions,

There is around 300 pages or so is this too much?

Would it be a problem if there are several pages with the same name? e.g. there is a vendor page for.com also a vendor page for 12 other countries.

Is there a problem with the code?

Any help would be greatly appreciated, I have just started this job and have got dropped right into this.

Re: Statistics extension problems

Posted: Thu Jul 30, 2009 1:51 pm
by jmcgin51
who told you to add that code?  Have you read the Statistics module help?

If you just want to capture the statistics for viewing in the backend admin panel, all you need to add to each page or template is {Statistics}

If you actually want to show a statistic on the front-end, like the visitor's IP address, then you would use (Statistics what="visitorip"}.

I have never played with "what", so I don't know if it can hold more than one value (for example, a comma-separated list).  I'm sure, however, that the syntax you were told to use (where you have multiple "what=" will not work.

Re: Statistics extension problems

Posted: Tue Aug 11, 2009 7:18 am
by Jackson
Ok I know have the statistics up and running, but the problem is it only lists the top 30 pages by the percentage of traffic.

Is there a way to get a list of every page and sub page showing the traffic, hits, lead outs etc..???????


Thanks in advance.