Setting up tracking with Segment
Dreamdata can stream tracking data from Segment if set up on your website. For Dreamdata to work you should as a minimum track page views and form submissions. And do identifies at all form submissions. You can refer to Segment's documentation here
What will you need?
- An existing Segment account.
- Admin access to your Segment workspace.
How do I integrate?
- Log into your Segment account here, and choose the relevant workspace.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621103282028/screenshot-2021-05-12-at-11-10-21.png)
- Choose "Connections" from the menu on the left.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621103416226/screenshot-2021-05-12-at-13-07-57.png)
- Click on "Add Destinations" in the top right corner.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621236916379/screenshot-2021-05-12-at-13-08-06.png)
- In the search bar, look for Dreamdata and click the Dreamdata box from the results.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621236980379/screenshot-2021-05-12-at-13-41-05.png)
- On the next screen, click "Configure Dreamdata".
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621237005972/screenshot-2021-05-12-at-11-14-17.png)
- Select your Segment source and click "Confirm source".
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621237755734/screenshot-2021-05-12-at-13-49-43.png)
- You will now need to add a tiny piece of code called API key, which allows Dreamdata to access your Segment data securely.
Click on the API Key box at the bottom of the page.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621237073092/screenshot-2021-05-12-at-11-15-49.png)
- In a separate tab, log into the Dreamdata app. Click on Data platform --> Sources --> Segment.
- In your Segment tab, click Edit and paste the API key into the box, and then click Save.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1621237245158/screenshot-2021-05-12-at-14-55-39.png)
- Your Segment data should be flowing, however in some cases, it can take up to 48 hours to show.
- To check whether data is streaming, in the Dreamdata app, click on Data platform --> Sources --> Segment. The number of events on the right bottom corner should be higher than 0, and you should be able to see data when you click on the See events buttons.
![](https://files.helpdocs.io/och1s6u5rp/articles/a3oj9oz2o0/1696497212774/screenshot-2021-05-17-at-08-41-26.png)