THROUGH Filters

THROUGH filters specify the nodes that a customer journey must pass through to be included in the results for the specified query.

You can specify the following options when using a THROUGH filter:

  • AND. Journey must pass through all specified nodes, in any order.
  • THEN. Journey must pass through all specified nodes, in the specified order.
  • OR. Journey must pass through one of the specified nodes.
  • NOT. Journey must not pass through the specified nodes.
  • WITHIN. Used with THEN. Journey must pass through all specified nodes, in the specified order, within a specified number of steps or a specified timeframe.

Usage Details

  • You can use THROUGH filters either with or without other journey cutting and splitting filters (FROM and/or TO).
  • THROUGH filters support a full boolean tree. You can negate and nest the logical elements using parentheses.
  • By default, MXO preserves the order in which you specify THROUGH filters in a query. For example, results for THROUGH A, B, C, include only those paths that go through A followed by B followed by C.Gaps are allowed for other interactions such as, A, B, D, C, but not for incomplete paths, B, D, C.
  • NOT THROUGH is always considered as an excluded set applied to every member. No order is checked in this case. If one interaction in the NOT case is found the path is discarded.

THROUGH

Includes customers journey in results only if that journey passes through the specified interaction context (node).

discover journeys through(interaction(channel='Assisted'))

THROUGH (AND)

Includes customers journey in results only if that journey passes through all specified interaction contexts (nodes) in any order.

discover journeys through(interaction(channel="Web") and (interaction(channel="Assisted")))

Results for this query would include the following customer journeys:

  1. Web > Mobile > Assisted
  2. Mobile > Web > Assisted
  3. Assisted > Web > Mobile

THROUGH (THEN)

Includes customers journey in results only if that journey passes through all specified interaction contexts (nodes) in the specified order.

discover journeys through(interaction(channel="Web") then (interaction(channel="Assisted")))

Results for this query would include the following customer journeys:

  1. Web > Assisted > Mobile
  2. Web > Web > Web > Assisted > Mobile
  3. Mobile > Web > Assisted

And exclude the following customer journeys:

  1. Web > Mobile > Assisted
  2. Mobile > Assisted > Web

THROUGH (OR)

Includes customers journey in results if that journey passes through one of specified interaction contexts (nodes).

discover journeys through (interaction(channel="Web") or (interaction(channel="Mobile"))

Results for this query would include the following customer journeys:

  1. Web > Assisted
  2. Mobile > Assisted
  3. Web > Mobile
  4. Mobile > Web
  5. Web > Mobile > Assisted
  6. Mobile > Web > Assisted

THROUGH (NOT)

Includes the customer journey in results only if that journey does not pass through the specified interaction contexts (nodes).

discover journeys through (not (interaction(channel="Assisted")))

Results for this query would include the following customer journeys:

  1. Web > Mobile
  2. Web > Web > Web > Mobile
  3. Mobile > Web > Physical

And exclude the following customer journeys:

  1. Web > Mobile > Assisted
  2. Mobile > Assisted > Web

THROUGH (THEN WITHIN)

Includes customers journey in results only if that journey passes through all specified interaction contexts (nodes), in the specified order, within a specified number of steps or a specified timeframe.

Example

discover journeys through(interaction(channel="Web") then within 2 step interaction(channel="Assisted"))

Results for this query would include the following customer journeys:

  1. Web > Assisted > Mobile
  2. Web > Mobile > Assisted

And exclude the following customer journeys:

  1. Web > Mobile > Mobile > Assisted

Example (with specified timeframe)

discover journeys through(interaction(channel="Web") then within 1 hour interaction(channel="Assisted"))

Results for this query would include all customers who moved from the Web to Assisted channel within any timeframe up to and including 1 hour (60 minutes) and exclude customers who took 61 minutes or longer to move between Web and Assisted channels.

Example (with boolean tree)

discover journeys through(interaction(channel="Web") then within (2 step and 1 hours) interaction(channel="Assisted")

Results for this query would include the following customer journeys:

  1. Web > Assisted > Mobile (where customers moved between Web and Assisted channels within any timeframe up to and including 1 hour (60 minutes))
  2. Web > Mobile > Assisted (where customers moved between Web and Assisted channels within any timeframe up to and including 1 hour (60 minutes))

And exclude the following customer journeys:

  1. Web > Mobile > Mobile > Assisted
  2. Web > Assisted > Mobile (where customers took 61 minutes or longer to move between Web and Assisted channels)