Google Analytics by MonsterInsights
[Plugin: Google Analytics for WordPress] Ignoring users based on role/capability, not level (1 post)

  1. Simon Blackbourn
    Posted 4 years ago #

    Hi Joost

    I have a feature request:

    Currently I can only choose to ignore users 'above' a certain level.

    However this way of looking at user levels is not consistent with WordPress' model of roles as used for the last few major versions, whereby users have roles made up of a set of capabilities, which can be added/removed to/from, and custom user roles and capabilities can be created programmatically or with a plugin like Members by Justin Tadlock.

    In this model, roles are not necessarily above or below each other, they are just all different.

    Would it be possible therefore to replace the current dropdown with a list of checkboxes, one for each user role to be ignored?

    Alternatively, that the plugin creates a custom capability on activation (or upgrade) which it checks before outputting the tracking code, so I can programmatically add/remove this capability to/from roles within my own plugin?

    Many thanks for considering this,


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by MonsterInsights
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Simon Blackbourn
  • This topic is not resolved
  • WordPress version: 3.3.1