|
| 1 | +--- |
| 2 | +title: Optimizely Data Platform Destination |
| 3 | +beta: true |
| 4 | +hidden: true |
| 5 | +id: 6512d7f86bdccc3829fc4ac3 |
| 6 | +--- |
| 7 | + |
| 8 | +Sync your Twilio Segment customer data to Optimizely Data Platform (ODP) for real-time segmentation, reporting, and to enrich customer profiles in ODP. |
| 9 | + |
| 10 | +After you set up your Optimizely Data Platform destination, Segment syncs your customer data to ODP in near real-time. |
| 11 | + |
| 12 | +This destination is maintained by Optimizely. For any issues with the destination, [contact Optimizely Support team ](mailto:[email protected]). |
| 13 | + |
| 14 | +## Prerequisites |
| 15 | + |
| 16 | +- Twilio Segment workspace |
| 17 | +- ODP or [ODP Lite](https://support.optimizely.com/hc/en-us/articles/8359093735309-Welcome-to-ODP-Lite){:target="_blank”} account |
| 18 | + |
| 19 | +## Enable the integration |
| 20 | + |
| 21 | +1. In ODP, open the **App Directory**. |
| 22 | +2. Select the **Twilio Segment** app. |
| 23 | +3. Click **Install App**. |
| 24 | +4. On the Settings tab, click **Generate** and copy the displayed token. |
| 25 | +5. Open the Segment app and navigate to the [Destination catalog page](https://app.segment.com/goto-my-workspace/destinations/catalog){:target="_blank”}. |
| 26 | +6. Search for and select **Optimizely Data Platform**. |
| 27 | +7. Click **Add destination** and select a source to connect to the Optimizely Data Platform destination. |
| 28 | +8. Enter a name for your destination and click **Create destination**. |
| 29 | +9. On the destination's Settings tab, enter the following information: |
| 30 | + - **Api Key** – Paste your ODP API token from step 4 |
| 31 | + - **Region** – Select your region |
| 32 | + - **Enable Destination** – Toggle to **On** |
| 33 | +10. Click **Save Changes**. |
| 34 | + |
| 35 | +## Configure event mappings |
| 36 | + |
| 37 | +After you enable the Optimizely Data Platform destination, you must map the events that you want Twilio Segment to send to ODP. |
| 38 | + |
| 39 | +In Twilio Segment, on the **Mappings** tab of the Optimizely Data Platform destination, Segment displays a list of pre-built mappings that you can enable or disable. For example, if you enabled the **Email Opened** mapping, each email opened event Segment ingested after you enabled the mapping would sync to ODP. |
| 40 | + |
| 41 | +If you want to map an event that is not listed: |
| 42 | +1. Click **New Mapping > Custom Event**. |
| 43 | +2. _(Optional)_: Enter a descriptive name for the event. |
| 44 | +3. Select the event that you want to send to ODP. |
| 45 | +4. Click **Load Test Event from Source**. This generates the raw data for the selected event and populates your mappings. The ID and timestamp field mappings auto-populate, but you can edit them as desired. |
| 46 | +5. Select the event type and, optionally, the event action. For example, if you are configuring a custom event to track button clicks, select _button_ for the event type and _click_ for the event action. |
| 47 | + |
| 48 | +> info "Required fields" |
| 49 | +> In ODP, each event requires an ID, timestamp, and event type. The event action is optional. See ODP's [Events](https://docs.developers.optimizely.com/optimizely-data-platform/docs/thebasics-events) documentation for more details. |
| 50 | +
|
| 51 | +<ol style="counter-reset: none;"> |
| 52 | + <li value="6" markdown=1> |
| 53 | + _(Optional)_: To ensure the custom event is configured correctly, click **Send test event to destination**. |
| 54 | + </li> |
| 55 | + <li value="7" markdown=1> |
| 56 | + Click **Save**. |
| 57 | + </li> |
| 58 | + <li value="8" markdown=1> |
| 59 | + Toggle your custom event's status to **Enabled**. |
| 60 | + </li> |
| 61 | +</ol> |
| 62 | + |
| 63 | +The event data sends from Twilio Segment to ODP starting after you enable the mapping in the destination. It does not retroactively send events that occurred prior to configuring the integration and enabling the mappings. |
| 64 | + |
| 65 | +{% include components/actions-fields.html %} |
0 commit comments