added basic support for google analytics