added google analytics support