added support for google analytics