Perfect Audience Destination

Perfect audience is a retargeting platform that lets marketers bring back lost web visitors through Facebook ads and banner ads in the web.

This document was last updated on October 24th, 2018. If you notice any gaps, out-dated information or simply want to leave some feedback to help us improve our documentation, please let us know!

Getting Started

The first step is to make sure Perfect Audience supports the source type and connection mode you’ve chosen to implement. You can learn more about what dictates the connection modes we support here.

WebMobileServer
📱 Device-based
☁️ Cloud-based
  1. From your Segment UI’s Destinations page click on “Add Destination”.
  2. Search for “Perfect Audience” within the Destinations Catalog and confirm the Source you’d like to connect to.
  3. Add your Advertiser ID (located in the User tracking session in Perfect Audience) and enable the destination in Segment.
  4. We’ll automatically start recording data.

When Perfect Audience in enabled in Segment, our CDN will update within 5-10 minutes, and Perfect Audience’s javascript is asynchronously loaded onto your page. Please remember to remove Perfect Audience’s snippet from your page.

Perfect Audience is only supported on the client-side.

Track

If you haven’t had a chance to review our spec, please take a look to understand what the Track method does. An example call would look like:

analytics.track("My Custom Event", {
  checkinDate: new Date(),
  myCoolProperty: "foobar",
});

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.

Troubleshooting

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.


If you have any questions, or see anywhere we can improve our documentation, please let us know!