How to achieve it?

Comments

hass’s picture

Category: feature » support
Status: Active » Fixed

RTFM

Ares_ekb’s picture

Status: Fixed » Active

For example, there are 2 users:
User #1 - registered user
User #2 - registered user AND moderator

I need to track User #1 and I don't want User #2 to be tracked.

If I'll add tracking for anonymous and registered users, both User #1 and User #2 will be tracked.

How to exclude User #2?

There are two kinds of normal users on my site: anonymous and registered. And also there is a limited set of admins, editors, moderators - all of them are registered users too. They couldn't be excluded now.

hass’s picture

Status: Active » Fixed

Again - RTFM. There is custom PHP code example how this can be archived.

Ares_ekb’s picture

Thanks! I've found TFM )

But I think it would be much easier to add a second user role list "Remove tracking for specific roles" to the configuration page...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.