[Task] update google analytics code to new format