Enrichment for Segment
Segment is a customer data infrastructure that enables companies to collect, unify, and connect their first-party data to over 200 marketing, analytics, and data warehousing tools. Segment makes it easy to send the same consistent customer data across all of your favorite tools.



Connect Clearbit to Segment to automatically add Enrichment data to any users identified with an email address to any of Segment’s tools on their platform.


Using this integration, you could:
  • Want a list of customers whose websites use Google Analytics? Send Enrichment customer data via Segment to Redshift to query on Clearbit's tech tags
  • Pipe all your users to Customer.io, and then build segments based on Clearbit Enrichment’s role property to send a different drip campaign to customers in sales than those in software engineering
  • Send data to an analytics provider like Mixpanel, and you'll be able to analyze and create cohorts based on company size, title, etc.

Getting access

In order to start using Enrichment in Segment, simply follow the steps below to connect your Clearbit Enrichment subscription. If you don't currently have a Clearbit Enrichment subscription visit https://clearbit.com/enrichment to sign up today. Reach out to Clearbit Success (success@clearbit.com) to ensure you have the right access!
How It Works

The Clearbit integration listens to the Segment identify call. Clearbit then takes the email property in the identify call, enrich it, and send another identify event back to Segment.

Here is an example of an identify call with Segment’s analytics.js library.

analytics.identify('34351', {
  email: 'amit@clearbit.com'
});

Once that email address has been enriched, Clearbit data will be available to any of the integrations you've configured in your Segment source. We will only re-trigger an identify event once every 30 days for a particular email.

Setting up

Setting up Clearbit's Segment integration is straightforward process that doesn’t require any additional coding (as long as Segment is already implemented on your site or app). Note: if you have already added the integration then skip steps 1 and 2.

1. Find the Clearbit integration in your Segment account
The Clearbit integration can be found on the Catalog > Destinations page of your Segment Source in your Segment account (or you can add it to your Segment account from the integration's landing page).


You can also get to the Clearbit Enrichment page with this URL pattern: https://app.segment.com/{{ your project }}/destinations/catalog/clearbit-enrichment

  1. Select your Segment source and enter your Clearbit API key
Select the Segment project you to which you want to apply Enrichment. Then, enter your Clearbit API key into the Settings page of the Clearbit Integration in Segment, then click Save Changes and Enable Integration.


3. Verify that the integration is working correctly
To verify that the integration has been set up correctly, check the Debugger section of your Segment Source. Assuming everything has been set up correctly, you should start seeing Clearbit data populate in the Identify events—click on the specific event you're interested in to see Clearbit traits. These traits will now be available to other Segment integrations in your account. Notice that all Clearbit traits are prefixed with clearbit_ to ensure they don't conflict with existing traits.