
SegmentTrackEventOperator
SegmentSend Track Event to Segment for a specified user_id and event
Access Instructions
Install the Segment provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
user_idRequiredThe ID for this user in your database. (templated)
eventRequiredThe name of the event you’re tracking. (templated)
propertiesA dictionary of properties for the event. (templated)
segment_conn_idThe connection ID to use when connecting to Segment.
segment_debug_modeDetermines whether Segment should run in debug mode. Defaults to False
Documentation
Send Track Event to Segment for a specified user_id and event