Sub topic 7
Directly or indirectly followed by, and time limits
This chapter covers how GA4 decides whether a user moved from one funnel step to the next. It assumes you can open the Funnel exploration template, add steps with event and parameter conditions, and tell open funnels from closed ones. It focuses on two settings: the step order operator and the time limit between steps.
Why sequencing settings matter
A funnel step is a condition, such as "event name equals addtocart". The funnel also has to decide which users count as having passed from one condition to the next. That decision comes from two settings that sit on top of your step definitions:
- The order operator on each step after the first: indirectly followed by or directly followed by.
- An optional within time limit on each step after the first.
The same events can give very different completion rates depending on these two settings. A change in either one changes the numbers without any change in user behavior.
Indirectly followed by
"Indirectly followed by" is the default. A user passes step N+1 if they trigger the step N+1 condition at some point after they triggered the step N condition. Other events may happen in between.
Take this sequence of events for one user:
session_startview_itemscrollview_item_listadd_to_cart
For a funnel of view_item then add_to_cart, this user completes both steps under the indirect setting. The scroll and view_item_list events between them do not matter.
Use the indirect setting when you care about whether a user eventually did something. This fits most journeys, because real users browse, search and scroll between the steps you chose to measure.
Directly followed by
"Directly followed by" requires that step N+1 is the very next event after step N for that user. If any other event is recorded between the two, the user does not progress.
With the same sequence of events, the user fails the directly-followed funnel. The scroll event comes right after view_item, not add_to_cart.
Use the direct setting when two events are tightly coupled and you want to measure a specific hand-off. Examples are begin_checkout followed immediately by add_shipping_info, or add_payment_info followed immediately by purchase.
Be careful with the direct setting. GA4 records many automatic and enhanced measurement events, such as scroll, click and page_view. Any of them can sit between two of your steps and break the direct link. A direct funnel that looks very low is often not a UX problem. It is noise from unrelated events.
| Setting | A user passes the next step when | Typical use | Main risk |
|---|---|---|---|
| Indirectly followed by | The next condition happens at any later time | Overall journey from browse to purchase | Can include long, loose paths |
| Directly followed by | The next condition is the very next event | A fixed hand-off between two events | Unrelated events lower the completion rate |
The setting applies per step, so you can mix them in one funnel. You might leave the early browsing steps indirect and make the final payment hand-off direct.
Time limits between steps
Each step after the first can have a Within time limit. It sets the longest time allowed between the previous step and this one. You enter a number and choose a unit such as seconds, minutes, hours or days.
Suppose step 2 has a limit of 30 minutes. A user who adds to cart 45 minutes after viewing the item does not pass step 2, even though the events happened in the right order.
Time limits help in three ways:
- They separate quick, intentional journeys from long, drawn-out ones.
- They keep a user who returns weeks later from being counted as if it were the same attempt.
- They let you test a business rule, such as "customers should finish checkout within one hour".
The limit is measured from the previous step, not from the start of the funnel. A three-step funnel with limits of 10 minutes on each later step can span up to 20 minutes in total.
If you leave the limit empty, there is no restriction apart from the date range of the exploration and the open or closed behavior of the funnel.
How the settings combine with open and closed funnels
The sequencing settings and the open or closed choice answer different questions.
- Open versus closed decides whether a user can enter the funnel at any step or must start at step 1.
- Directly or indirectly decides how strictly each step must follow the previous one.
- The time limit decides how long the gap may be.
All three apply together. In a closed funnel with a direct setting and a 5-minute limit, a user must start at step 1, and each later step must be the next event, within 5 minutes of the previous step.
The diagram shows how GA4 evaluates one user for one transition.
A worked example
You track a purchase journey with view_item, add_to_cart, begin_checkout and purchase. You build three versions of the same funnel and compare the completion rate from step 1 to step 4.
| Version | Order setting | Time limit | What it measures |
|---|---|---|---|
| A | Indirectly on every step | None | Users who ever completed the journey in the date range |
| B | Indirectly on every step | 1 day per step | Users who completed it with no gap longer than a day |
| C | Directly on every step | None | Users whose events were back to back |
Expect A to show the highest completion and C the lowest. B falls between them unless most buyers decide quickly. The gap between A and B tells you how many buyers return after a day or more. If A and B are close, most purchases happen soon after browsing. The size of C is mostly a measure of how many automatic events sit between your steps.
Version A is the right headline number for "how many people buy after viewing a product". Version B is useful for planning remarketing windows. Use version C only if your steps are adjacent by design.
Common errors
- Using direct on a long journey. Steps such as
view_itemandadd_to_cartare rarely adjacent in the event stream. Switch to indirect unless you have a reason not to. - Setting a time limit that is too short. A 1-minute limit on a checkout form can exclude users who stop to find their card. Check the elapsed time shown in the results before choosing a limit.
- Comparing funnels with different settings. Two funnels with the same steps but different order or time settings are not comparable. Record the settings next to the numbers.
- Expecting the time limit to span the whole funnel. The limit applies between neighboring steps only.
- Blaming users for a drop that comes from instrumentation. If a step's event fires late or twice, the direct setting and short time limits make the effect worse. Check that the events fire in the order you expect.
Choosing settings: a short checklist
- Write down the question in plain words, such as "Of users who view a product, how many buy within a day?"
- Choose indirect order unless the question is about adjacent events.
- Set a time limit only if the question contains a time condition.
- Apply the same settings to every funnel you plan to compare.
- Review elapsed time in the results to confirm the limit fits real behavior.
Exercise
A funnel has the steps viewitem, addto_cart and purchase, all set to "directly followed by". The completion rate is far lower than the team expects. Give one likely reason and one change you would try.
Show answer
Between viewitem and addtocart, users usually trigger other events such as scroll, click or pageview. Under the direct setting, any such event breaks the link, so many users who did complete the journey are not counted. Change the order setting on each step to "indirectly followed by". If the question requires a time condition, add a "within" limit instead of relying on adjacency.
Exercise
A three-step closed funnel has a 30-minute limit on step 2 and a 2-hour limit on step 3. What is the longest total time a counted user can take from step 1 to step 3, and why?
Show answer
2 hours 30 minutes. Each limit is measured from the previous step, not from the start of the funnel, so the limits add up: up to 30 minutes between steps 1 and 2, then up to 2 hours between steps 2 and 3.