Split google analytics into a macro.