Added analytics and redirection.