Perfect Audience Destination

Segment makes it easy to send your data to Perfect Audience (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to Perfect Audience in the format they understand. Learn more about how to use Perfect Audience with Segment.

Getting Started

When you toggle on Perfect Audience in Segment, this is what happens:

  • Our CDN is updated within 5-10 minutes. Then our snippet will start asynchronously loading Perfect Audience’s javascript onto your page. This means you should remove Perfect Audience’s snippet from your page.
  • Perfect Audience will automatically start recording data.

Perfect Audience is only supported on the client-side.


You must call page for Perfect Audience to load. We already include a call to in your default Segment snippet, so if you haven’t removed that, Perfect Audience will work the same as if you installed the Perfect Audience snippet directly.


When you call track on analytics.js, we call Perfect Audience’s track with the exact same parameters.

Perfect Audience requires that you define your goals ahead of time in their interface. If that hasn’t happened, then they don’t track the events.

Here’s their video of how to set that up - you’ll need to match event names between Perfect Audience and your Segment track calls.

Completed Order

If you’re using our ecommerce spec and passing the Order Completed event the orderId and total will be passsed along to Perfect Audience.


Script unverified or undetected by third-party tool

Many times this is a limitation on the tool’s detection process, where the detector is looking for a specific HTML element on your page. Our client side analytics.js library asynchronously loads the tool’s library or pixel onto the page. As such, the detection fails.

In order to confirm that the tool’s library or pixel is actually loaded onto the page, you can open up the javascript console and go to the network tab when the page is loading.

Checking network tab to see if script loads

If the script isn’t loading, check that any form of ad blocker is disabled.

Supported Sources and Connection Modes

📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.


Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

Advertiser ID

You can find your Advertiser ID by going to Manage > User Tracking and looking in the top-right corner for ‘Advertiser ID’. It should be 24 characters long, and look something like this: 43c4b9f66d5f88435700003c.

If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!