req model changes
analytics only in production mode