Add google analytics code to template