✅ Source ✅ Destination
With HG Insights + Segment, enrich your scoring with your web traffic and in-app usage data, then send the HG Insights predictions wherever you need them.
What does this integration do?
Turning on the Segment integration is very useful if you want to:
send Segment data to HG Insights. Web visits or App usage tracked in Segment can be sent to HG Insights to be used for behavioral scoring.
send your HG Insights data to Segment. Send HG Insights scores and segmentations to Segment to route them to any of the tools you'd like.
Supported Methods
More info on Segment Methods
| Pull (Source) | Push (Destination) |
Identify | ✅ | ✅ |
Group | ✅ | ❌ |
Track | ✅ | ❌ |
Page | ✅ | ❌ |
Screen | ❌ | ❌ |
Alias | ❌ | ❌ |
Note that here:
Source means Segment as a HG Insights Source to provide HG Insights with data.
Destination means Segment as a HG Insights Destination to send the HG Insights predictions to Segment.
When Segment is a source for HG Insights, HG Insights is a Destination for Segment and vice versa.
How to send Segment data to HG Insights?
Log in to HG Insights app (app.HG Insights.com)
Click on Integrations
Click on Segment
.png?sv=2022-11-02&spr=https&st=2025-12-05T21%3A29%3A14Z&se=2025-12-05T21%3A41%3A14Z&sr=c&sp=r&sig=yPOulnxDJ2wVEVeMiTKcYWGpHqpuLFjLmV7OuOlP%2FsY%3D)
In the Segment pull page, click on Activate Pull
A Segment page will open. Select the Workspace and Source tracking the data to send to HG Insights.
To send data from more than one source to HG Insights, add the additional source directly in Segment after adding the first source.
.png?sv=2022-11-02&spr=https&st=2025-12-05T21%3A29%3A14Z&se=2025-12-05T21%3A41%3A14Z&sr=c&sp=r&sig=yPOulnxDJ2wVEVeMiTKcYWGpHqpuLFjLmV7OuOlP%2FsY%3D)
Click Allow
HG Insights will be added automatically as a Segment destination. You should now see HG Insights in your list of Destination .png?sv=2022-11-02&spr=https&st=2025-12-05T21%3A29%3A14Z&se=2025-12-05T21%3A41%3A14Z&sr=c&sp=r&sig=yPOulnxDJ2wVEVeMiTKcYWGpHqpuLFjLmV7OuOlP%2FsY%3D)
When the setup is completed, in HG Insights you should see the list of data HG Insights will start pulling from Segment.
How to send historical data from Segment?
Behavioral models generally perform best with at least 9 months of training data. However, once you connect Segment, we only receive your data going forward. To send historical data for training, there are two options:
Segment replay (available to Segment Business plan only)
If you're a customer of Segment Business tier, you can ask your account manager to replay your historical data to our destination. This is the most convenient way. Please request a 9 months replay. Learn more.
Sending historical data through Amazon S3
If you are on a lower tier than the Segment Business tier, you can still send your historical data to HG Insights via Amazon S3. To do so, please follow these instructions.
How to send HG Insights data to Segment?
Please follow the steps in this article!
Frequently Asked Questions
How can I disconnect Segment from HG Insights?
Please first remove HG Insights as a destination in Segment
Then reach out to support@madkudu.com so that our team disables the integration fully
Can I send data to HG Insights from more than one source?
Yes, you would need to add these sources directly from your Segment account. To do so, follow these steps
Go to your Segment account https://app.segment.com/
In Connections > Destinations, click + Add Destination
Search HG Insights. Once on the page click "Add destination"
Select your data source in the list of sources and click Next
Enter a name like "Website to HG Insights" for the Destination.
If you already have HG Insights connected to another source, easiest to copy the settings from that source. Otherwise, you can fill in manually.
.png?sv=2022-11-02&spr=https&st=2025-12-05T21%3A29%3A14Z&se=2025-12-05T21%3A41%3A14Z&sr=c&sp=r&sig=yPOulnxDJ2wVEVeMiTKcYWGpHqpuLFjLmV7OuOlP%2FsY%3D)
After you click on Created destination, you'll need to enter your HG Insights API key in Segment.
You can find your HG Insights API key in app.HG Insights.com > Integrations > API.png?sv=2022-11-02&spr=https&st=2025-12-05T21%3A29%3A14Z&se=2025-12-05T21%3A41%3A14Z&sr=c&sp=r&sig=yPOulnxDJ2wVEVeMiTKcYWGpHqpuLFjLmV7OuOlP%2FsY%3D)