Besides the ability to track first-party customer data, Segment offers robust integrations with the most popular SaaS tools. With our Segment integration, you can automatically sync enriched customer data from your data warehouse with Segment to send this data to downstream tools that Hightouch doesn't already integrate with.
Go to the Destinations overview page and click the Add destination button. Select Segment and click Continue. You can then authenticate Hightouch to Segment using a Segment Write Key.
To retrieve the write key for your Segment destination in Hightouch:
Once you've set up your Segment destination and have a model to pull data from, you can set up your sync configuration to begin syncing data. Go to the Syncs overview page and click the Add sync button to begin. Then, select the relevant model and the Segment destination you want to sync to.
For the generic track mode, there are further settings that are needed to determine which event name Hightouch sends to Segment for each added, changed, and removed record.
In the preceding screenshot, Hightouch sends Segment:
A "User Signed Up" event when a record is added to the query results
A "User Changed Subscription" event when a record is changed in the query results
A "User Deleted Account" event when a record is removed in the query results
Hightouch allows you to send a timestamp that the event occurred for generic track events. This is useful for backfilling historical events.
Hightouch also lets you to send a message ID for each record to ensure that the event is deduplicated within Segment in the case that the same event erroneously gets sent twice.
Segment returns a 400 Bad Request error if your batch payload exceeds the limitations. You can find more information in Segment's documentation. Adjust your batch configuration accordingly.
Hightouch provides complete visibility into the API calls made during each of your sync runs. We recommend reading our article on debugging tips and tricks to learn more.