added in the guts of the google analytics task