Google Analytics connect middleware.