What is a source?

Sources in Segment are created for each website you want to track. While not required to have a single Source for each server, site or app, Segment recommendeds creating a Source for each unique source of data.

Sources belong to a workspace and the URL will look something like this:

https://segment.com/<my-workspace>/sources/<my-source-name>/

You can create new sources using the button in the workspace view. Each source you create will have a write key which is used to send data to that source. For example, to load analytics.js, the Segment JavaScript library on your page, the snippet on the Quickstart Guide includes:

analytics.load("YOUR_WRITE_KEY");


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!