Help & Support
How Can We Help?
We Think These Might Help
OPEN TICKET
Thank you for your feedback!
cannot be blank
We will respond as soon as humanly possible.

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.  

Use for:

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

Create an Event-Based Audience

  1. Log in to your AdRoll dashboard.

  2. Navigate to your Audience tab.

  3. Click New Audience.

  4. Under Audience Type, select URL Visited.
  5. 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.

  6. In URL pattern field, type a plus (+) and then paste the copied ID.
  7. Specify if this is a conversion audience.

  8. Enter your desired Duration: the number of days that someone remains an active part of the audience.

  9. Save.

 

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 ("25c14f39") 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.

Was this article helpful?
0 out of 0 found this helpful