added google analytics support refs #4