#2077 - Do not count resource views from staff

This is a spacer post for a website comment topic. The content this topic relates to: #2077 - Do not count resource views from staff
For the record, the default Google Analytic integration does filter staff hits out, but the internal stats implementation does not. However I'm going to drop this request because it's a problematic feature. For example, real-time rain wouldn't work, or other kinds of tracking, as that's all powered by the stats table.

I strongly recommend using Google Analytics for decent analytics, and just using Composr's as a very very basic thing.

Maybe we need to take a look at integrating http://piwik.org/ as an alternative to Google Analytics. I'm going to create a new controversial tracker issue on this now.
No problem. I should have probably specified that I was on about 'Reveal usage statistics' if that is related to the view count on each page. Was just hoping that the displayed view count wouldn't include hits generated from admin/staff visits, but perhaps it is the same value that is referenced.

Reopened on those terms
Implemented via extending an existing hidden option. If hidden option disable_view_counts is set to -1, it won't do view counts for anyone who is staff.

To enable in Commandr...

:set_value('disable_view_counts', '-1');
Logged in as admin or supermod, the view count is still going up after setting this via Commandr.

Please open a new issue if you have a bug pertaining to an issue already marked resolved.

We can't re-use resolved issues because the changelogs won't work correctly if we do.

Please also reference this issue number in your new issue.
Okay, makes sense.
0 guests and 0 members have recently viewed this.