Posts: 457
Name: Randy
Location: Northern Wisconsin
|
You could put a conditional statement before the google analytics code begins:
if ( !is_user_logged_in() ) {
// show the google code
}
This statement checks if the user is NOT logged in, meaning it is a regular visitor, to show the google analytics code otherwise skip it.
I would also have the admin people bookmark the dashboard page. Then they never visit the site without logging in first, thus never displaying the google code.
Good luck!
Last edited by racer x; 11-25-2009 at 01:01 AM..
|