changed google analytics func (where it goes)