Statistics2

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
cleveweb
New Member
New Member
Posts: 1
Joined: Wed Sep 21, 2016 11:13 am

Statistics2

Post by cleveweb »

Newbie here!

Apologies if this is already covered but nothing comes up on the search.
I have become the Webmaster of our local club and although i have a background in HTML programming i am struggling getting to grips with using a CMS provider.

I want to gather visitor stats to be able to report to the committee.
I have activated the Statistics2 module but am confused about where to add the code to collect the data...

The instructions say:
Insert the tag below into your page or template.
Tag to insert:
{Statistics2 params} for params, see below
Please note! In order for the module to work correctly, a {Statistics}-tag must be somewhere inserted in every page or in the template used, even of you don't want it to show anything. Some way of doing this automatically may be implemented in the future.
'what'-values:
day : show the hits so far today
week : show the hits so far this week....... etc


OK, does that mean i paste "{Statistics2 day}" into the template? and where?
i've tried various places but the club sit throws an error :(

sorry if it's a bit vague, what more info would *you* need to help?

Thanks in advance,
Ani
flmm
Forum Members
Forum Members
Posts: 41
Joined: Wed Mar 24, 2010 1:12 pm

Re: Statistics2

Post by flmm »

Just put {Statistics2} somewhere in the template.

To show the stats on the page itself you can use the params.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Statistics2

Post by paulbaker »

Consider also any statistics package offered by your host - they often throw one in.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
pengels
Forum Members
Forum Members
Posts: 34
Joined: Sat Dec 01, 2012 9:22 pm
Location: Germany, RLP

Re: Statistics2

Post by pengels »

please don't use this module any longer. I have removed this fork from the forge because the original Statitics-module is back and working with CMSMS2. Therefore there is no need for this fork any longer.

Regards Peter
Regards from Germany, Peter
Locked

Return to “The Lounge”