how to let google analytics only track the members or guest users, not admin.
i don't want google analytics track the admin( or other specific user id), only track other users(linke guest and members.)
is there any solution via add some parameters to ga code in header.
wordpress has a solution,like:
is there any solution via add some parameters to ga code in header.
wordpress has a solution,like:
<?php global $user_ID; if ( 5 != $user_ID) : ?>
//put google analytics track code
<?php endif; ?>
0
Best Answer
-
ddumont ✭✭
you put the analitics code in the pocket and then make it "show" for only member roleThere was an error rendering this rich post.
0
Answers
There was an error rendering this rich post.
There was an error rendering this rich post.