update google analytics tracking code and viewport