Remove Google Analytics code for logged in user

I want to remove Google Analytics code for “Editor” user role on Beehive Pro, so those users won’t be tracked.