P.S. current_user_can
would cause the page to stay completely white with no markup being generated. Wrap it up like this in order to work:
if (!current_user_can( ‘edit_posts’ )) {
add_action(‘wp_head’, ‘NKgoogleanalytics’);
}
Adapted this in my previous post.