What is a source?

Sources in Segment are created for each website you want to track. You don’t necessarily need to have a single source for each site, but that’s usually how they are used.

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 the JavaScript library on your page, you’ll add something like:


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!