Middleware context processor for analytics done.