Segment is a customer data platform (CDP) that specializes in event collection and data activation. The platform collects data from websites, mobile apps, servers, and cloud applications and pushes that data to downstream destinations.
The Segment connector enables you to sync Segment audience data with Dynamic Yield instantly. Once synced, you can aim Dynamic Yield campaigns at users in particular Segment audiences.
Install the Segment extension
-
- In the Experience OS store, go to Segment and click Learn More.
- On the Segment page, click Install.
- Go to Audience Hub › Extensions.
- Select Active from the status dropdown.
- In Connection Settings, select the identifier type (CUID) for this integration that you defined for your Dynamic Yield section. It must be the same identifier type you use in Segment. See the following table:
Segment Identifier Name Segment Identifier Code Dynamic Yield
Extension ConfigurationCustom Identifier <custom value you define> <same as Segment ID> Email email email Segment User ID userId userId Segment Anonymous ID anonymousId anonymousId - Click Save. Keep this tab open, as you'll need to copy the identifier, section ID, and connection key to your Segment console.
Configure the Dynamic Yield destination
This is a one-time setup in Segment Connections. After you complete this configuration, you'll select audiences to sync with Dynamic Yield.
Note: To integrate with Dynamic Yield, you must be a member of the Connections Business plan, and ensure that data is sent only from approved IP addresses. Contact friends@segment.com to update your data source.
- In Connections › Catalog, search for Dynamic Yield.
- On the Dynamic Yield Audiences page, click Add destination.
- Select the relevant space, and then click Confirm Source.
- Enter the information from Dynamic Yield (see Step 6 of the previous section): Section ID and connection key. Click Save.
- Go to Mappings. Click New Mapping and then click Sync Audience.
Note: Make sure to define the mapping fields for your destination as shown in the following image: - Go to Engage › Audiences and select the audience you want to sync with Dynamic Yield.
- On the audience page, click Add Destination, and search the Dynamic Yield destination.
Note: For each audience, ensure that the Identifier Type matches the one you configured for the Segment connector on the Dynamic Yield side.
You can now view the synced audiences in Experience OS.
The data flow is typically a push from Segment to Dynamic Yield, where Segment captures events or user updates (such as page views, clicks, or purchases) and immediately pushes the relevant data to Dynamic Yield. This ensures that user activity is synced in real time or near-real time.
Create audiences based on Segment data
- In the Experience OS Audience Hub, go to Audience Explore.
- Select Segment Audiences from the dropdown list.
- Configure audience conditions based on data from Segment.
Troubleshooting
- Make sure the identifier type and values are identical in both the Dynamic Yield integration settings for the Segment connector and the destination configuration in Segment.
- Make sure that the identifier type you use in your identification events (Login, Signup, Identify) is the same identifier used in the integration.
- Verify that the users in the Segment audiences indeed visited the site. If you're not sure, we recommend that you create an audience with all users who visited the site, sync it, and see if users appear in the Audience Explorer.
- Note that Audience Explorer doesn't include real-time data, only defined past timeframes.
-
If an audience from Segment is unsynced:
- Segment isn’t able to send us this webhook. This means that this audience is still available on Experience OS, but the data is the "old" data we collected until the audience unsynced.
- If you sync it again, Segment sends us updated information about users who joined or left this audience.
Note: To remove the audience from Experience OS, you must reinstall both the Segment connector and the Dynamic Yield destination
-
If the destination is deleted, Segment is unable to send us this information. This means that the audience data remains on Experience OS until it's manually removed.
Note: If you want to remove the audiences from Experience OS, you must uninstall the Experience OS Segment connector. - If you've just now implemented the identifier in your identification events: For users who were never identified on the site, connecting them to their Segment identity can take up to 24 hours.
-
Re-syncing audiences: The following are conditions under which an audience re-sync occurs (or not). If you:
- Delete a destination instance from an Engage space — re-sync ✅
- Delete a destination instance from an audience and then re-add it — No re-sync ⛔
-
Delete audience and create a new one — re-sync ✅
-
Email Segment support and ask for a re-sync — re-sync ✅
- Delete a destination instance from an Engage space — re-sync ✅