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.
When you toggle on Perfect Audience in Segment, this is what happens:
- 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
analytics.page 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.
If you’re using our ecommerce spec and passing the
Order Completed event the
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.
If the script isn’t loading, check that any form of ad blocker is disabled.
Supported Sources and Connection Modes
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.
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: