Segment
Last updated
Last updated
Navigate to your organization's integration settings.
Select the Segment integration option.
Enter your Segment Write Key.
Choose the specific events you want to send to Segment.
Save your configuration.
When creating an inference, add a segment
attribute to the additional_metadata
field with the following structure:
The segment
object should include a user_id
which is required and represents the ID of the user you're tracking.
You can optionally specify an event
name (if not provided, it uses the default event names).
The properties
object can contain any additional properties you want to track.
The integrations
object allows you to specify which integrations to send this event to.
Refer to Segment documentation for more details on properties and integrations.