Added logic to add google analytics script only in production environment.