Only track in production

An override is available by setting enable_activity_tracking to true.