Express route middleware for Google Analytics