Here's a few examples of why you might want to use an Event Audience:
- Track users who click a button
- Track users of only a root domain, i.e. www.yoursite.com homepage visitors
- Track users who are on your site for X seconds
Give the Audience a name, set a duration, and select the Event method.
In the box, enter a unique tracking name for this Audience. In this example, we've used 'audience' but this can be whatever you'd like. Save the Audience when you're done.
Next, you'll need to add some code to your website. In addition to our normal tracking tag you've already installed on your site, you'll want this code to run when you want to add the user to the audience (on page load, button click, etc.):
window._pq = window._pq || ;
Note that 'audience' needs to match whichever tracking name you gave the Audience in your Dashboard.
That's it! When the code runs, the user will be added to the Audience.
Note: We're happy to provide some examples here, and while we provide extensive