Segment (Sources)

  • Sources & SDKs

Getting data from Segment into MetaRouter Clickstream

If you'd like to get your data from Segment to MetaRouter, you can do this through our webhook API. Follow the instructions below to make this happen.

Begin by creating a server-side source in your MetaRouter app. There, you'll find a Source ID, which is a long string of letters and numbers.


In your Segment UI, add a Web Hook integration. You can filter by integrations to "raw data" to expedite this process. Once you've created this destination, paste in this URL:, substituting YOUR_SOURCE_ID with the Source ID from your source settings.

Once you configure a destination, you can now trigger some events and confirm that they're flowing from Segment to MetaRouter via the log screen in your MetaRouter UI.

© 2020 MetaRouter

Disclaimer: MetaRouter Cloud leverages code from several of Segment's fabulous library of open-source tools, including their source SDKs, destinations, and core Analytics.js library. As some of the core configurations outlined in our docs are largely identical to Segment's, we often re-purpose, and in some cases copy, directly from Segment's docs. In the cases where we have forked Segment's tools, we acknowledge and attribute all credit to Segment for their creation and subsequent documentation.