Added analytics code in production.