Event-Based Audience

Event-based audiences are based on click events rather than on pages. To create this audience type, you have to add a piece of code to the onClick attribute of your JavaScript button. This audience type is also useful for tracking events such as form submissions. 

Note: Event based audience works only when the __adroll.track function is invoked in the AdRoll pixel.

When to Use an Event-Based Audience

  • JavaScript buttons
  • Tracking conversions that need to be completed on a separate website (common with event promotion) 

Create an Event-Based Audience

  1. Go to the Audiences tab in the left navigation menu.
  2. Click New Audience.
  3. Under Audience Type, select URL Visited.
  4. Type your Audience Name, then click copy ID to clipboard. This pulls a unique ID to be used as the URL rule placeholder for this audience.
  5. In URL pattern field, type a plus (+) and then paste the copied ID.
  6. Specify if this is a conversion audience.
  7. Enter your desired Duration: the number of days that someone remains an active part of the audience.
  8. Click Create Audience

Prepare the Script

Below is the script, called an event pixel, that you will need to tie to your event audience.

Update the event pixel by replacing the example ID in quotes ("147296b3") with the unique ID we generated for you. 

Activate the Event Pixel

The event pixel should be triggered through the onClick function of the button on the page(s) where the event occurs. As an option, many of our advertisers place the script in an external JavaScript file that gets called during the click event.

The best practice here will depend on existing website structure. Consult your technical team. 

Counting All Clicks

Event-based audiences are triggered when a visitor clicks the button, regardless of whether the action successfully goes through. For example, when a user attempts to submit an incomplete form with required fields, they will count as a click even if the form returns an error.

Exclude an Audience

Excluding an audience from a campaign means that we won't show ads to people in that audience. To exclude an existing audience:

  1. Go to the left navigation menu and click Website under Audiences.
  2. Scroll down to your list of Site Audiences and click on the audience that you want to exclude.
  3. Scroll down the page to Campaigns with Audience and switch the Target toggle from Target to Exclude.
Was this article helpful?

We're sorry to hear that!

Please tell us why.