• Resolved pace

    (@bbrun)


    As the title says, I tried to remove 2 admins from being tracked by using codes from your FAQ but failed. I don’t know if this matters but I added to the child theme functions.php because I work on child theme. Please help. Thank you.

    This is the codes I added,

    add_filter('buddypress_wcamp_excludeUsers','my_buddypress_wcamp_excludeUsers');
    function my_buddypress_wcamp_excludeUsers() {
        return array(1,5,8,23); // exclude (as example) Users with ID 1, 5, 8 and 23
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author quan_flo

    (@quan_flo)

    with this code you exclude the users with id 1, 5, 8 and 23 from beeing tracked.
    The tracked visits before you added the code still exist. The code only affects new visits that are not tracked then

    Thread Starter pace

    (@bbrun)

    I tried with a different user, instead of the ones that already had the old tracking record, to test the tracking and it stopped tracking the admins I don’t want tracked. So it works. Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tried to remove admins from being tracked by using codes from FAQ but failed’ is closed to new replies.