Makes Google Analytics hooks more environment-specific.