Sub topic 8
Sequence audiences for funnel-style targeting
A sequence audience includes users who completed a series of steps in a set order. Use one when the order of behavior matters, for example "viewed a product, then added it to the cart, then did not purchase." This chapter assumes you can already build a basic audience with conditions and groups, you know the three condition scopes, and you have registered any custom dimensions you want to filter on.
What a sequence is and why order matters
A standard condition group asks whether a user did something at any time inside the membership window. A sequence asks whether the user did step A, then step B, then step C. A user who did C first and A later does not qualify.
Compare two audiences built from the same two events:
- Audience 1 has two ordinary conditions joined by AND:
view_itemandadd_to_cart. A user matches if both events occurred in any order. - Audience 2 is a sequence:
view_item, thenadd_to_cart. A user matches only ifadd_to_cartoccurred afterview_item.
Sequences are the closest the audience builder gets to a funnel. They help most when you want to target users at a specific stage, or when you want to separate people who completed a journey from people who only touched part of it.
Building a sequence in the audience builder
- Go to Admin, then Audiences, then New audience, then Create a custom audience.
- Choose Add new condition or Add sequence. The sequence option is available at the top level of the builder.
- Add a first step. Each step is a condition on an event, and it can include parameter filters.
- Select Add step to append the next condition.
- Between steps, choose how closely the steps must follow each other. The choices are "indirectly followed by" and "directly followed by."
- Optionally set a time constraint on the whole sequence.
- Set the scope of the sequence, then the membership duration, and save.
Each step can use the same kinds of filters as an ordinary condition. For example, the last step in a "high-intent" sequence could be an add_to_cart event that also filters on the value parameter.
Sending an event that a step can match
A step matches on events your site actually sends. The standard add_to_cart event with its recommended parameters gives the builder something precise to match.
gtag('event', 'add_to_cart', {
currency: 'USD',
value: 29.99,
items: [{ item_id: 'SKU_123', item_name: 'Trail Shoes', price: 29.99, quantity: 1 }]
});With this event in place, one step can be "event name equals add_to_cart" and a second step can be "event name equals purchase." Together they describe users who added to the cart and later bought. You then flip the idea with an exclusion to find the ones who did not buy, as described below.
Directly followed by versus indirectly followed by
The relationship between two steps controls how strict the sequence is.
| Setting | Meaning | Example |
|---|---|---|
| Indirectly followed by | Other events may happen between the two steps | `view_item`, any number of other events, then `add_to_cart` |
| Directly followed by | The second step must be the very next event after the first | `add_to_cart`, immediately `begin_checkout` |
Most of the time, you want "indirectly followed by." Real users scroll, click, and trigger automatic events like page_view and user_engagement between meaningful actions. Because those events are recorded too, "directly followed by" will often fail even for users who clearly followed your funnel. Reserve "directly followed by" for pairs of events that your site fires back to back, and test the result before relying on it.
Time constraints
You can limit the total time a sequence may take. A constraint such as "within 1 hour" or "within 7 days" means all steps must be completed inside that period. You can also set a time limit on the gap between specific steps.
Time constraints change what the audience means:
- Without one, a user qualifies even if the steps were months apart (up to the lookback of the data used for the audience).
- With one, you describe a focused burst of intent, such as a user who went from product view to cart within 30 minutes.
A tight constraint makes the audience smaller and more precise. A loose one makes it larger and less specific. Choose it based on how long your typical customer takes to move between those steps.
Choosing the scope of a sequence
A sequence has its own scope, which decides whether all steps must occur in one session or may span sessions.
- Within the same session: every step must happen during a single visit. Use it for short, high-intent journeys like a checkout flow.
- Across all sessions: steps can happen on different visits. Use it for considered purchases where people return several times, such as software trials or travel booking.
The scope interacts with the steps. If you pick "within the same session" and your customers usually view a product on one day and return to buy on another, almost no one will match. Check how your customers actually behave in a funnel exploration before you decide.
Combining a sequence with exclusions
Sequences become practical for remarketing when you pair them with an exclusion. The classic case is the abandoned cart:
- Include users who match the sequence:
view_item, thenadd_to_cart. - Exclude users who triggered
purchase.
You add the exclusion as a separate condition group set to "Temporarily exclude users" or "Permanently exclude users." Temporary exclusion removes people only while they match the exclusion condition, and they can rejoin later if they match the include conditions again. Permanent exclusion keeps them out for the lifetime of the audience once they match.
For an abandoned cart, permanent exclusion of purchasers is usually wrong if you want to remarket to repeat buyers who start a new cart. Temporary exclusion with a purchase event is often the better fit. Decide based on whether a purchase should end a person's eligibility forever or only for a while.
You can also place an exclusion inside a sequence as a step constraint, for example "addtocart, then not purchase within 24 hours." This is the standard way to define "abandoned within a day."
Membership duration for sequence audiences
Membership duration controls how long a user stays in the audience after they qualify. For sequences, it also interacts with the sequence itself. A user who completes the steps joins and stays for the duration you choose, up to 540 days.
Match the duration to the goal:
- For cart abandonment, use a short duration, often 1 to 7 days, so you stop showing ads once interest has faded.
- For a long consideration cycle, use a longer duration such as 30 to 90 days.
Remember that audiences only collect members from the time you create them. A new audience does not backfill anyone beyond the data GA4 already has available for evaluation, and it may start small. Users who qualified before creation can appear for some conditions, but do not assume this for every sequence. Check the audience size after a day or two.
Common problems
- The audience is empty. Likely causes are a "directly followed by" setting that is too strict, a "within the same session" scope for a cross-session journey, an event name that does not match exactly (event names are case sensitive), or a parameter you have not registered as a custom dimension.
- The audience is too small to use. Google Ads needs a minimum number of active users on the audience list before it serves ads. A narrow sequence with a short time constraint may never reach that number.
- Users appear who should be excluded. Check whether you used a temporary exclusion where you intended a permanent one, and whether the exclusion event is actually sent.
- A parameter filter does nothing. Register the parameter as an event-scoped custom dimension first, such as
plan_namein aselect_planevent, then use it as a filter in a step.
gtag('event', 'select_plan', {
plan_name: 'pro',
billing_period: 'annual'
});After you register plan_name as a custom dimension, a sequence can say: select_plan where plan_name equals pro, then begin_checkout, which describes interested Pro plan users who started checkout.
Testing a sequence
Before you send an audience to Google Ads, confirm that it behaves as you expect.
- Open the audience's detail view and read the user count and trend. Allow a day or more for data to build.
- Perform the steps yourself in a test session and in the wrong order, then check in the DebugView and in the audience's membership that only the correct order qualifies.
- Build the same funnel in a funnel exploration and compare the counts. They will not match exactly because the tools use different logic, but the order of magnitude should agree.
- Start with an indirect sequence, confirm it works, and tighten it step by step.
Exercise
You want to remarket to users who viewed a product and added it to the cart within the same session but have not purchased. Describe the audience configuration: the steps, the relationship between them, the scope, and how you handle purchasers.
Show answer
Create a sequence with scope "within the same session." Step 1 is the event view_item. Step 2 is the event add_to_cart, joined with "indirectly followed by" because automatic events occur between the two. Add an exclusion for the purchase event. Use a temporary exclusion if buyers should be able to re-enter after starting a new cart, or a permanent exclusion if buyers should never be remarketed to. Set a short membership duration, such as 7 days, so ads stop once interest fades.
Exercise
A sequence audience of add_to_cart directly followed by begin_checkout stays at zero users even though many people check out. What is the most likely cause and the fix?
Show answer
Automatically collected events such as page_view or user_engagement usually occur between the two events, so "directly followed by" never matches. Change the relationship to "indirectly followed by" and check the user count again after a day.