Closed (fixed)
Project:
Google Analytics
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 May 2006 at 19:33 UTC
Updated:
19 Jun 2006 at 00:31 UTC
I would like to disable tracking for admin users. I do not want to throw off my tracker from this viewer group. For a larger site employees vs non-employee groups and so forth.
Right now I use gAnalytics in a block that is disabled for each admin, but the feature would be better if it came with this module.
Thanks
Comments
Comment #1
buddaI've updated the 4.7 module to include the ability to define what user roles should be tracked. Let me know if it doesn't work for you - my current test site is a bit limited in user roles.
If a user has multiple roles assigned to their account, if at least one of the roles should be tracked, then the user will be tracked.
Comment #2
Tobias Maier commentedI think it would be better if I coud select which user should NOT be tracked.
because this does not break the current behavour (it works the same way after the update)
and maybe if I could assign different profiles to specific roles.
the change you did was not a trivial change.
so add an update (in the .install-file; set all roles should get tracked) because someone could oversee that he has to select a roles who should get tracked now...
thanks
Comment #3
budda.install file added to set all roles to being tracked by default. It first checks that the role is not already set up to be not tracked, for anybody who used the Google Analytics module recently.
I've done some quick testing on this, no errors appeared, but it's late and I'm thinking about bed now rather than PHP.
Comment #4
(not verified) commented