---
title: "Segment - How to send HG data to Segment?"
slug: "segment-how-to-send-madkudu-data-to-segment"
updated: 2025-11-05T15:47:09Z
published: 2025-11-05T15:47:09Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.madkudu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Segment - How to send HG data to Segment?

You've built your models and segmentation with HG Insights and now want to receive the scores in Segment? Just follow the steps below.

## **You already have a Segment source to collect HG Insights scores**

1. Log in to **Segment** ([app.segment.com)](https://app.segment.com/login?)
2. Go to the source you want to send your HG Insights data to.
3. Inside this project, click on **Settings**, then to the **API Keys** section and copy the **Write Key**. (See [Segment instructions to locate your API key](https://segment.com/docs/connections/find-writekey/))
4. Login to HG Insights **app.HG Insights.com**
5. Go to **Integrations**
6. Click on **Segment**
7. Go to the **Push******page
8. Paste the **Write Key**

![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(234).png)
9. Click **Save**
10. Head to **Settings > Push** to define which data models to start pushing to Segment. [Learn more here about how to push HG Insights Intelligence to your integrations](/v1/docs/how-to-push-madkudu-intelligence-to-your-integrations)

When the setup is completed you should see the fields HG Insights pushes to Segment like this: ![mceclip8.png](https://support.madkudu.com/hc/article_attachments/4403566487053/mceclip8.png)

# **You want to create a new Segment source to collect HG Insights scores**

1. Log in to **Segment** ([app.segment.com)](https://app.segment.com/login?)
2. Create a **Node.js source******and name it as you like.
3. Inside the new source, click on **Settings**, then to the **API Keys** section, and copy the **Write Key**. (See [Segment instructions to locate your API key](https://segment.com/docs/connections/find-writekey/))
4. Login to HG Insights **app.HG Insights.com**
5. Go to **Integrations**
6. Click on **Segment**
7. Go to the **Push******page
8. Paste the **Write Key![mceclip5.png](https://support.madkudu.com/hc/article_attachments/4403557627917/mceclip5.png)**
9. Click **Save**
10. Head to **Settings > Push** to define which data models to start pushing to Segment. [Learn more here about how to push HG Insights Intelligence to your integrations](/v1/docs/how-to-push-madkudu-intelligence-to-your-integrations). When the setup is complete you should see the fields HG Insights pushes to Segment like this:

![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(235).png)

# **What data is sent from HG Insights to Segment?**

HG Insights sends data to Segment via the [Segment Identify](https://segment.com/docs/spec/identify/) method:

```json
{
  "type": "identify",
  "userId": "97980cfea0067",
  "traits": {
    "email": "paul@madkudu.com",
    "mk_customer_fit_segment": "medium",
    "mk_likelihood_to_buy_segment": "high",
    "mk_likelihood_to_buy_score": "72",
    "mk_job_title": "CTO",
    "mk_country": "United States",
  ...
  }
}
```

Note that

- the native integration between HG Insights to Segment supports "**identify**" calls only.
- only users active in the last 30 days will be scored to avoid increasing your Segment bill

For more about the HG Insights fields being sent to Segment, please [consult this article](/v1/docs/madkudu-field-names-and-specifications).
