more sophisticated google analytics integration