Integrate Clearbit Reveal with Segment and Google Analytics

Last Updated: April 25, 2022
Disclaimer: Our Segment integration is available with our Operations package. To further discuss packaging and pricing, fill in the form here to get in contact with a sales rep.
Many companies use Segment to route customer data across their favorite tools, including Google Analytics. Clearbit can enrich the customer data, aggregate them across your selected dimensions, and send them to Google Analytics.

Skip Ahead to:

How Do I Set it Up?

  1. Integrate Clearbit Reveal with Segment.
  2. Enable Google Analytics as a destination with Segment.
  3. To verify everything is correctly configured, go to your website or app, and you should see events flowing through Segment’s debugger.
    PDWl_Jo8.png

📝 Please note: When setting up Google Analytics, it’s important in the settings to add a Serverside Tracking ID and set the Connection Mode to Cloud Mode.

Enriching Google Analytics Custom Dimensions

Custom Dimensions are basically unique traits that you can add to your aggregated user data in Google Analytics. With Segment, you can send custom dimensions to Google Analytics, however, since these calls are coming from the server side, you must explicitly map them in the Google Analytics settings.
Because Segment requires the explicit mapping of the identify trait before sending it to Google Analytics, it’s imperative that the trait listed on the left side match the traits sent by Clearbit Enrichment or Clearbit Reveal.

📝 Please note:  Because Segment’s server must first receive the page or identify (for Enrichment) call first before sending the relevant data to Clearbit, only Segment’s server-side downstream destinations will receive post Clearbit data. This means that if you setup Google Analytics as a client-side (Segment’s Cloud Mode) integration, then it will not attach Clearbit enriched data to your pageview information.