code: def track_event(user_id, event_name, properties):
      
      # Only call the endpoint if the import was successful.
      if segment:
          segment.track(user_id, event_name, properties)
docs: Emit a track event to segment (and forwarded to GA) for some parts of the Enterprise workflows.