Skip to content
Help Center
TopicsReporting and integrations

How does the Segment integration work?

Updated · 2 min read

Short answer

Connect Segment once in Integrations, then turn it on for each video. When a view ends, Mindstamp writes a identify call and sends the values you map. Segment is on Pro and higher plans.

  1. In Segment, add an HTTP API source.
  2. Open the source Settings > API Keys and copy the write key.
  3. In Mindstamp, open Integrations and select Connect on the Segment card.
  4. Paste the write key and the region and select Connect Segment.
  5. Open a video, select Integrations, then Manage on the Segment card.
  6. Turn on Send views from this video, then pick a value for each field under Fields.
  7. Add Rules for clicks, answers or a percent watched, if you want them.
  8. Select Save, then Send the latest view, and check the result in Segment.
  • One identify call for each view, with the values you map.
  • Fields: percent watched, score, each answer, the view report link and your variables, in fields or in property names you type.
  • The events “Video Watched”, “Video Button Clicked” and “Video Question Answered”, when you turn them on. These are Mindstamp event names.

After the view ends: the video ends, the viewer reaches 100 percent, or 2 minutes pass with no activity. Nothing is sent during playback.

If Segment does not answer, Mindstamp tries again after 1 minute, 5 minutes, 15 minutes, 1 hour and 3 hours. Send earlier views sends the finished views of the last 30 days that Segment did not get.

  • The Segment page in Integrations shows Recent sends: the latest views, with sent, failed or skipped.
  • Each view report shows Sent to, with the result for each integration. A failed send has Send again.
  • The Views list has a Sent to column, and the CSV export has one column for each integration.
  • Below the minimum percent watched: the view is skipped, and the view report says so.
  • Anonymous viewers get an ID: A viewer without an email gets the anonymous ID mindstamp-viewer- and a number, so you can merge the profile later.
  • EU region: The EU endpoint is for Segment Business workspaces with Regional Segment.