Why the number of sessions is different when I change a funnel step from required to optional?

Analytics

Avaliable from 16.7.0

When you use a funnel report, you can mark steps as required or optional. If visitors skip the optional steps, they stay in the funnel and aren’t counted as drop-offs. On the flip side, those who skip required steps get tagged as drop-offs.

However, understanding the session count in funnel steps can be tricky. Sometimes it seems off, but fear not – the session number is accurate. These examples should help clarify things.

Example 1

Funnel definition
  1. A (required)
  2. B (required)
  3. C (required)
  1. A (optional)
  2. B (required)
  3. C (required)
Visitor’s path
  • B (timestamp 00)
  • A (timestamp 01)
  • B (timestamp 02)
  • C (timestamp 03)
Matched path
  1. A
  2. B
  3. C
  1. ––
  2. B
  3. C

Comment:

In the second funnel definition, the algorithm matched the visitor’s path in the following way:

  1. Found A at timestamp 01 (first A is taken)
  2. Found B at timestamp 02 (first B is taken, ignoring A because it’s optional)
  3. Found C at timestamp 03 (first C, after B, is taken)
  • Found sequence: B, A, C
  • Funnel definition: A, B, C
  • Result: B, C

Note: Optional steps are matched only if they occur between the event matching the previous step and the event matching the next required step.

Example 2

Funnel definition
  1. A (required)
  2. B (required)
  3. C (required)
  4. D (required)
  1. A (required)
  2. B (optional)
  3. C (optional)
  4. D (required)
Visitor’s path
  • B (timestamp 00)
  • C (timestamp 01)
  • A (timestamp 02)
  • B (timestamp 03)
  • C (timestamp 04)
  • D (timestamp 05)
Matched path
  1. A
  2. B
  3. C
  4. D
  1. A
  2. B
  3. C
  4. D

Comment:
In the second funnel definition, the algorithm matched the visitor’s path in the following way:

  1. Found A at timestamp 02 (A is taken)
  2. Found B at timestamp 00 and 03 (last B is taken because it’s after A)
  3. Found C at timestamp 01 and 04 (last C is taken because it’s after B)
  4. Found D at timestamp 05 (D is taken)
  • Found sequence: A, B, C, D
  • Funnel definition: A, B, C, D
  • Result: A, B, C, D

Example 3

Funnel definition
  1. A (required)
  2. B (required)
  3. C (required)
  4. D (required)
  1. A (required)
  2. B (optional)
  3. C (optional)
  4. D (required)
Visitor’s path
  • B (timestamp 00)
  • C (timestamp 01)
  • A (timestamp 02)
  • C (timestamp 03)
  • B (timestamp 04)
  • C (timestamp 05)
  • D (timestamp 06)
Matched path
  1. A
  2. B
  3. C
  4. D
*If step B is indirect.
  1. A
  2. B
  3. ––
  4. D
*If step B is indirect.

Comment:
In the second funnel definition, the algorithm matched the visitor’s path in the following way:

  1. Found A at timestamp 02 (A is taken)
  2. Found B at timestamp 00 and 04 (last B is taken because its timestamp 04 is after A at timestamp 02)
  3. Found C at timestamp 01, 03 and 05 (middle C is taken because its timestamp 03 is after A at timestamp 02)
  4. Found D at timestamp 06 (D is taken)
  • Found sequence: A, C, B, D
  • Funnel definition: A, B, C, D
  • Result: A, B, D

Was this article helpful?

Technical support

If you still have any questions, visit our community.
There’s always someone happy to help!

Related articles

Back to help center