Sub topic 11
Audience triggers: logging an event when users join
Assume you already understand GA4 events and have Editor or Administrator access to a GA4 property. An audience trigger is a GA4-generated event that records when a user enters an audience. It lets you use audience membership as an event condition in reports, Explorations, or other audiences.
An audience trigger does not replace the events that define the audience. For example, add_to_cart and purchase still need to be collected correctly. The trigger runs after GA4 evaluates those events and determines that the user meets the audience conditions.
When to use an audience trigger
Use an audience trigger when the moment of joining an audience has business meaning. Examples include:
- A user joins a “cart abandoners” audience.
- A user joins a “premium subscribers” audience.
- A user joins a “high-value customers” audience.
- A user becomes eligible for a remarketing workflow.
The generated event is different from the qualifying event. A user might join a cart-abandoner audience because they added an item to a cart and did not purchase. The audience trigger could be named joined_cart_abandoners.
The trigger records the audience entry. It does not fire every time the user performs another action while remaining a member. If the user leaves the audience after the membership duration ends and later qualifies again, GA4 can treat that as a new audience entry.
Configure an audience trigger
Create the audience first. For a cart-abandoner audience, you might require an add_to_cart event and exclude users who complete a purchase event.
In the GA4 interface:
- Open Admin and select Audiences under the property data settings.
- Create a new audience or edit an existing audience.
- Define the audience conditions and exclusions.
- In the Audience trigger section, enable the option to log an event when users join the audience.
- Enter a custom event name, such as
joined_cart_abandoners. - Save or publish the audience.
Use a lowercase event name with underscores. Give the name a stable meaning. Renaming the trigger later creates a different event and makes historical comparisons harder.
An audience trigger is generated by GA4. You do not send it with gtag() or duplicate it in your website code. If the trigger needs additional context, configure event parameters in the audience-trigger settings when that option is available. Register any useful custom parameter as an event-scoped custom dimension before relying on it for reporting.
Validate the trigger
Check that the source events arrive with the expected names, parameters, and values. Then verify that users can satisfy the complete audience logic. A trigger will not appear merely because the audience definition looks correct.
Allow for processing time before judging the result. Compare the trigger event count with new audience memberships over a suitable date range. A large difference can be normal when users are already members, when exclusions remove users, or when the audience has not received enough qualifying traffic.
Use the generated event for analysis when you need to measure audience entry. Use the audience itself when you need a current group of users for comparisons or remarketing. If you want Google Ads to target that group, link the property to Google Ads and confirm that the audience meets Google's sharing and consent requirements.
Exercise
Should you send joined_cart_abandoners from your website every time a user adds an item to a cart?
Show answer
No. Configure it as an audience trigger. GA4 generates it when the user enters the cart-abandoner audience, after applying the audience conditions and exclusions.