Here are a few examples of when to use an Event Audience:
- Track users who click a button
- Track users of a subdomain, i.e. shop.yoursite.com visitors
- Track users who are on your site for X seconds
To create an Event Audience, click Manage > Create Audience.
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.