Added GA code to templates