Sub topic 11
Audience triggers: logging an event when users join
This chapter assumes you can already build an audience with conditions, scopes, exclusions, and a membership duration. It also assumes you know how GA4 events, key events, and custom dimensions work. You need Editor access to the property to configure a trigger.
What an audience trigger does
An audience normally changes who is in a list. It does not change your event data. Looking back at a report, you can see how many users are in the audience today. You cannot easily see when each user joined, or how many joined each day.
An audience trigger fixes this. It is an option in the audience builder: when a user joins the audience, GA4 logs an event of your choosing for that user. The event is an ordinary GA4 event. It shows up in event reports, can be used as a condition in other audiences, and can be marked as a key event.
Typical uses:
- Count how many users qualified for an audience per day, so you can chart joins over time.
- Treat "became a high-intent user" as a conversion and import it into Google Ads as a key event.
- Chain audiences, so that joining one audience is a condition of a second one.
- Build an Exploration or funnel step around "joined the audience" instead of recreating the audience logic.
How the trigger works
GA4 evaluates audience membership during processing, not in the browser. The trigger event is therefore created on the server side after the qualifying behavior has been collected. It is not sent by your tag.
The trigger fires on joining, which means it responds to a change in membership. Users who were already members before you added the trigger do not generate the event. If you need a historical count, use the audience in a report or Exploration instead.
Setting up a trigger
- Open Admin, then Data display, then Audiences.
- Create a new audience, or edit an existing one.
- Define the conditions, scopes, exclusions, and membership duration as usual.
- In the "Audience triggers" section, turn on "Log an event when someone joins the audience".
- Review the event name that GA4 suggests and edit it if needed.
- Choose whether the event is logged only the first time a user joins, or again each time a user re-qualifies. The options available can vary by interface version, so read the labels in your property.
- Save the audience.
Event names follow the usual GA4 rules. Use letters, numbers, and underscores, start with a letter, and avoid reserved prefixes such as ga_, google_, and firebase_. Pick a name that says what happened, such as cart_abandoner_joined, rather than one that repeats the audience name in full.
Example: users who added to cart but did not purchase
The audience below is built from the standard add_to_cart event, which your site sends with the recommended parameters:
gtag('event', 'add_to_cart', {
currency: 'USD',
value: 29.99,
items: [{ item_id: 'SKU_123', item_name: 'Trail Shoes', price: 29.99, quantity: 1 }]
});In the audience builder, include users who triggered add_to_cart. Add a temporary exclusion for users who triggered purchase within the same period. Set membership duration to 7 days for a short remarketing window. Then enable the trigger and name the event cart_abandoner_joined.
After GA4 processes the data, cart_abandoner_joined appears in the event list. You can chart it by date to see how many new abandoners you gain per day.
Reading the trigger event in reports
The trigger event behaves like any other event once it exists. You can look at it in the Events report, in Explorations, or through the Data API. This request body for the runReport method counts the trigger event per day:
{
"dateRanges": [{ "startDate": "28daysAgo", "endDate": "today" }],
"dimensions": [{ "name": "date" }],
"metrics": [{ "name": "eventCount" }, { "name": "totalUsers" }],
"dimensionFilter": {
"filter": {
"fieldName": "eventName",
"stringFilter": { "matchType": "EXACT", "value": "cart_abandoner_joined" }
}
}
}Compare eventCount and totalUsers. If the trigger fires on every re-entry, eventCount will be higher than totalUsers, because the same user can join more than once.
Trigger or plain audience?
| Need | Use a plain audience | Add a trigger |
|---|---|---|
| Send users to Google Ads for remarketing | Yes | Not required |
| Compare audience members with everyone else in a report | Yes | Not required |
| Chart new members per day | Hard | Yes |
| Import the "joined" moment into Google Ads as a conversion | No | Yes, mark the event as a key event |
| Use membership as a condition in another audience | Limited | Yes, use the event |
| Analyze events that happened before the audience existed | Yes, with a report comparison | No, only future joins are logged |
Edge cases and common errors
- No events appear. Triggers log only for users who join after the trigger is saved, and only after processing. Allow up to a day or two before concluding that it is broken. Also check that the audience itself has members, since an empty audience cannot log anything.
- The event count is too high. Re-entry logging fires each time a user rejoins. A short membership duration and a condition that users meet repeatedly (for example, any
page_view) can create many joins per person. Use first-time logging when you want one event per user. - Circular logic. Do not use the trigger event as a condition of the same audience that logs it. The audience would depend on an event that only exists once it is satisfied, so it would stay empty.
- Event name clashes. If you reuse the name of an event your site already sends, the two sources mix in reports and cannot be separated afterward. Use a distinct name that your own tagging never emits.
- Unexpected key event totals. If you mark the trigger as a key event and import it into Google Ads, each join counts as a conversion. Check that re-entries are not inflating your conversion counts.
- Editing the audience later. Changing conditions changes who joins from that point on. Events already logged stay in your data and do not get rewritten, so annotate the change date in your notes.
Summary
An audience trigger turns audience membership into event data. It logs an event when a user joins, and only for joins that happen after you enable it. Use it to chart joins over time, to feed a key event into Google Ads, or to chain audiences. Choose first-time or repeat logging deliberately, avoid circular conditions, and give the event a distinct name.
Exercise
You enable an audience trigger on an audience that already has 4,000 members. A day later the event high_intent_joined shows 0 events. Give two possible reasons, and say what you would check next.
Show answer
First, existing members do not generate the event, because triggers log only for users who join after the trigger is saved, so no one has joined yet. Second, processing may not have finished, or the event name may differ from what you searched for. Next, check whether new users have qualified since you saved the trigger, confirm the exact event name in the audience settings, and look again after a day or two.
Exercise
A trigger on an audience whose condition is "any session_start in the last 3 days" logs 50,000 events but reports only 12,000 total users. What is happening, and how would you change the setup?
Show answer
The trigger fires each time a user re-enters the audience. With a short membership window and a condition users meet repeatedly, people leave and rejoin many times, so eventCount is far higher than totalUsers. Switch the trigger to first-time logging so each user generates one event, or lengthen the membership duration so that users rejoin less often.
Exercise
Why should the audience that logs cart_abandoner_joined not use cart_abandoner_joined as one of its own conditions?
Show answer
The event only exists after a user has joined the audience. If joining requires the event, no user can ever satisfy the condition first, so the audience stays empty.