Update google analytics function and token