Moves GA code inline. Oops.