Thanks for the update. If you do not want to place the Analytics snippet for only administrators roles, you can use a googlesitekit_analytics-4_tag_blocked
filter, with modifications that apply to administrator roles only below.
add_filter( 'googlesitekit_analytics-4_tag_blocked', 'restrict_analytics_snippet' );
function restrict_analytics_snippet( $original ){
// don't place GA snippet for admins
if (current_user_can( 'manage_options' ) )
return true;
}
What the above will do, is not place the Site Kit code snippet (for Google analytics) for administrator roles only. It uses an administrator only capability (manage_options).
Let me know if that answers your query, or ask if you have any questions. Note that to apply the above, please use a child theme, or a custom functions plugin, as opposed to your themes functions.php file, which will get overwritten on each theme update.