All integrations

Segment

Segment is a customer data platform (CDP) that helps companies aggregate first-party customer data, such as website interactions.

Connect to Interactions

Introduction

Segment is a customer data platform (CDP) that helps companies aggregate first-party customer data, such as website interactions. Miso supports real-time integration with Segment so that customer interaction data can be automatically pushed from Segment to Miso’s Search and Recommendation engines using a webhook.

What’s a webhook?

A webhook is a type of API that allows web applications to communicate with each other in real-time. Unlike traditional APIs, webhooks are driven by events, rather than requests. The webhook provider (in this case, Segment) is supplied a URL of where to send data as it is generated. In contrast, a traditional API requires you to pull data on a frequent cadence, regardless of whether or not there is new data available.

Integration Steps

Generate the webhook URL in Dojo

  1. Navigate to the Integrations page within Dojo.

  2. Search for Segment under Customer Data and A/B Experiments, and click Install.

    Untitled

  3. In the Field mapping section, update the names of the Segment user id and anonymous id fields if they are different from Segment’s default values. If you’re unsure, leave the fields as the default values for now.

    Untitled

  4. Copy the generated URL. This is the URL you will need to provide to Segment in the following section.

    Untitled

Enable the webhook within Segment

  1. Log into Segment. Under the Connections menu in the left navigation pane, select Destinations.

    Untitled

  2. Select Add Destination.

    Untitled

  3. From the destinations catalog, select Webhooks.

    Untitled

  4. On the next page, select Configure Webhooks.

  5. Select the data source you want to send to Miso and click Next.

    Untitled

  6. Provide a descriptive name for the Destination and select Save.

  7. Now we need to configure the connection settings for the webhook. Select Webhooks (max 5) under Connection Settings to navigate to the Edit Settings screen.

Untitled

  1. Paste the Miso URL inside the Webhook URL box and select Save.

    Untitled

  2. To test the webhook connection, select the Event Tester tab in the top navigation bar.

    Untitled

  3. Select Send Event to send a test event to Miso’s webhook. If you return a status code of 200, the webhook is functioning successfully! If not, please contact your Miso Support Team help you troubleshoot your integration.

Tips and Tricks

  • For a list of supported e-commerce events in Segment, see Spec: V2 Ecommerce Events (Segment). If your Segment implementation uses non-standard event names, you will need to contact your Miso Support Team to assist you in mapping the events to Miso’s interactions.

Additional Resources

For more information on Miso’s API, check out the official API Documentation.

For more Integrations like this, visit the Integrations page on our Docs site.

Published Date: March 22nd, 2022

Icon/Activity Icon/Add Icon/API Icon/Arrow/Down Icon/Arrow/Left Icon/Arrow/Right Icon/Arrow/TopRight Icon/Arrow/Up Icon/Bento Icon/Billing Icon/Bin Icon/Book Icon/Bookmark/Default Icon/Bookmark/Filled Icon/Calendar Icon/Caret/Down Icon/Caret/Up Icon/Chavron/DownIcon/Chavron/LeftIcon/Chavron/RightIcon/Chavron/UpIcon/Checknox/CheckedIcon/Checknox/Unchecked Icon/Checklist Icon/Chip Icon/Clipboard / Copied Icon/Clipboard/Default Icon/Clock/Stopwatch Icon/CMD Icon/Data/Catalog Icon/Data/Engine Icon/Data/Group Icon/Data/Interact Icon/Data/Users Icon/Dive Icon/Docs/Key Icon/Dojo Icon/Email Icon/Env/Development Icon/Env/Playground Icon/Env/Prod Icon/Folder Icon/Fullscreen/Collapse Icon/Fullscreen/Expand Icon/Guides/Multiple Icon/Guides/Single Icon/Hashtag Icon/Heart/Outline Icon/Heart/Solid Icon / Cart z Icon / Click Icon / Clock Icon / Data Icon / Doc Icon / EmptyCart z Icon/Social/Facebook Icon / Genome Incognito Icon / Money Icon/Social/ProductHunt Icon / Search Icon/Social/Twitter Icon / User Icon/Info/Error Icon/Info/Info Icon/Info/Question Icon/Info/Warning Icon/Interact/Download Icon/Interact/Edit Icon/Interact/External v2 Icon/Interact/External Icon/Interact/Filter Icon/Interact/Logout Icon/Interact/Options Icon/Interact/Re-order Icon/Interact/Reload Icon/Interact/Remove Icon/Interact/Replace Icon/Interact/Search Icon/Interact/Shuffle Icon/Interact/Undo Icon/Interact/Upload Icon/Interact/Video Icon/Invoice Icon/Loading Icon/Loading Icon/Lock/Locked Icon/Lock/Unlocked Icon/Lock Icon/Mapping Menu Icon/Notification Icon/Overview Icon/Person/Team Icon/Person/User Icon/Plan/Enterprise Icon/Plan/Growth Icon/Plan/Startup Icon/Plan/Trial Icon/Recipe Icon/Rocket Icon/Settings/App Icon/Settings/User Icon/Settings Icon/Shrine Icon/Sidebar/Close Icon/Sidebar/Open Icon/Slideout Icon/Sort/Ascending Icon/Sort/Default Icon/Sort/Descending Icon/Star/Filled Icon/Star/Outlined Stopwatch Icon/Support Icon/Tag Icon/Interact/Thumb/Dislike Icon/Interact/Thumb/Like Icon/Tick Icon/Trend/New Icon/Trend/Trending Icon/Tutorial Icon/Lock/Unlocked Icon/View/Grid Icon/View/List Icon/Watchlist/Add