How to disable Concrete5 site statistics

CMS, Web Development

Concrete5 has built in site statistics tracking but it’s very simple and records every hit, not checking if the user is unique. This can create some very large database tables and possibly slow down your website. Although the graph will remain in the dashboard, the site will no longer track all the visits.

Open up config/site.php and add the following lines:

// turn off site tracking
define('STATISTICS_TRACK_PAGE_VIEWS', false);

As well, load up your favorite database manager, like phpMyAdmin and find the table PageStatistics and empty the contents to clean up past tracking data.

2 Comments

  1. Currently built my website “The Bail Hotline Bail Bonds” in concrete and was getting huge numbers on the statistics graph which I knew was not true. Of cource never based anything off this graphc becuase I use google analytics but it was annoying me.

    Well Thanks for this tip, works great and no more annoying false graph eatting up server load.

  2. Tony says:

    Thanks for the great tip!

    I think Google Analytics negates the need for this function in Concrete in any case.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>