added old Google analytics functionality