# Segment Integration

_By Swathy · Aug 14, 2023_

FeatureOS’s integration with Segment helps you easily track the site traffic on your feedback portal. You can read patterns from the data, understand your customer/user’s usage pattern and delivery better resolution to them.

### Getting started with a new Segment account

-   If this is your first time setting up a segment account you can navigate to [https://app.segment.com/](https://app.segment.com/) sign up for an account and start by creating a new workspace.
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/d5ewvefobtqab86mr390qwgy.png)
-   Once the workspace is created you can proceed with adding a source for for pulling data from.
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/mfyz6p4ypos5argsqr22k43o.png)
-   For our use case, you can choose the source as a **Javascript website** and click on Next where you can add the **Website name** and **URL** (of the feedback portal) → Click on **Create Source.**
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/b8ar5aflealg2el1zyn0lph1.png)
-   You can now fetch the Segment ID and navigate to your FeatureOS **Dashboard** → **Organization** → **Organization Settings** → **Integrations** → **Segment Analytics** and paste the ID.
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/qgwcvt02ipbbng7te75js5p9.png)

---

### **If you already have a segment workspace**

-   You can simply choose a source and toggle to **Settings** to find the **Write key.**
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/j78yhjw7xn0fu0w02kmwa6xz.png)

Once you locate and copy the key, you can go to your FeatureOS **Dashboard** → **Organization** → **Organization Settings** → **Integrations** → **Segment Analytics** → paste the ID and click on **Update**.

![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/attachments/article/clla8fude004vp3dwoaw20k5v/mp8ho3bqu97p1ovb4a0hsy97.png)

You’re all set to track activities on your organization’s page! You can visit your Segment dashboard → **Sources** → choose a source and toggle to **Debugger** for insights on your site traffic!

You can now track events like

-   Post Upvote & Downvote
    
-   Upvote on behalf
    
-   Comments made on a post
    
-   Post submitted
    
-   Subscribing to a post
    
    ![](https://assets.production.skcript.com/helpos/app-assets/rpqjbl0vffhq6wdzmiuinxfi/media-attachments/mwolyh9xr1h2m2y548q8vmqu.png)

### Need more help?

Reach out to our support at [support@featureos.app](mailto:support@featureos.app) or submit a request [on our support board](https://feedback.featureos.app/b/Support)! 😃

[View this article on the web](https://help.featureos.app/en/articles/segment-integration)
