---
title: Segment
slug: segment
createdAt: 2024-09-03T11:30:33.052Z
---

Segment is a technical tool that lets developers manage data generated in cloud-based services. The software helps collect customer data and pushes organized information to analytics tools like MixPanel and Google Analytics.

### What can you do with Segment in Custify:&#x20;

- Enrich your people or company attributes in Custify with data from Segment sources.
- Build segments of customers based on imported data or from tracked events pushed from Segment (e.g., “clicked the Upgrade button”).
- Define lifecycle stages based on the tracked events. Keep them on target by assigning tasks and alerts to CSMs.
- Build playbooks based on the identified personas and tracked events.

### Activation

- Sign in to your Custify account and navigate to Settings > Integrations section.
- Click on Segment > View on Segment > Search for “Custify” in the Catalog and select it.
- Choose which of your Segment sources you want to connect to Custify.
- Enter the API key from Custify in your Segment Settings UI. The API Key can be found in the Settings > Developer > API access area.

:::hint{type="warning"}
Observation: Segment is not sending company-only events, only people events. People’s events will bubble up to the company account, so you will still see activity on the company level.
:::

Segment can also assign companies to other companies (parent-child relationship).&#x20;

Requirements:

- The parent company has to be created first.
- The child company contains a trait called
- That ID matches what the company\_id of the parent that we have in Custify already (so what was sent as group\_Id in the group call of the parent).

### Event Filtering

Keep your customer data clean and meaningful. Account admins can **block unwanted Segment events** before they ever reach Custify, so test traffic and internal activity no longer distort customer timelines, usage data, and health scores. No extra setup is needed on the Segment side.

Rules are set per event type (**Track**, **Identify**, and **Group**). For each one, you can either block specific events or allow only specific events, and combine conditions with AND or OR logic.&#x20;

Built in safeguards protect your data:

• 	Delete requests are never blocked.

• 	An empty rule set never blocks all events by accident.

• 	If a rule can’t be evaluated, events are let through rather than lost.

• 	Rules only apply to new incoming events. Data already stored in Custify is not affected.

**How to use it:** Go to *Settings > Integrations > Segment*, turn on *Filter incoming events*, and define your rules.

