51黑料不打烊

Sequential segments

You create sequential segments using the Then logical operator between components, containers and components, or containers. The Then logical operator implies that one segment condition occurs, followed by another.

Additionally, you can constrain sequential segments to a specific duration of time, granularity, and counts between checkpoints using the After and Within operators.

recommendation-more-help

See VideoCheckedOut for a demo video.

A sequential segment has some basic functionality and additional options that you can configure to add more complexity to the sequential segment:

Sequential segment

Basics

The basics of building a sequential segment are no different than building a regular segment using the Segment builder. A regular segment becomes a sequential segment automatically as soon as you select the Then operator in the main definition or in any of the containers you use within the Segmentation builder.

Examples

The examples below illustrate how you use sequential segments in various use cases.

Simple sequence

Identify visitors who viewed a page and then viewed another page. The hit-level data is segmented using this sequence. Irrespective of previous, past, or interim visitor visits, or the time or number of page views occurring between the visits.

Sequential segment include everyone

Sequence across visits

Identify visitors who viewed a page in one visit, then viewed another page in another visit. To differentiate between visits, use containers to build the sequence and define Visit Visit level for each container.

Sequence segment across visits

Mixed-level sequence

Identify visitors who view two pages across an undetermined number of visits, and then view a third page in a separate visit. Again, use containers to build the sequence and define Visit Visit level on the container that defines the separate visit.

Sequence segment with separate final visit

Aggregate sequence

Identify visitors who at their first visit visited a specific page and then later visited some other pages. To differentiate between the sequence of hits, use containers to separate the logic on a WebPage Visit container level.

visit aggregate containers

Nest a sequence

Identify all visits where a visitor visits one page before another page and then have follow-up visits that involve two other pages. For example, identify all visits where a visitor first visits the home page, then a category 1 page and then has other visits where in each visit the category 2 and category 3 page are visited.

Nested sequence

After and Within

You can use Clock After and Clock Within the Then operator to define additional time constraints or constraints for Hits, Visits or Dimensions.

Time constraints

To apply time constraints to the Then operator:

  1. Select Clock .
  2. Select Within or After from the context menu.
  3. Specify a time period (Minute, Hour, up until Years).
  4. Select the ChevronDown number to open a popup that allows you to type in or specify a number using - or +.

To remove a time constraint, use CrossSize75 .

The table below explains in more detail the time constraint operators.

Operators
Description
After
The After operator is used to specify a minimum limit on the amount of time between two checkpoints. When setting the After values, the time limit begins when the segment is applied. For example, if the After operator is set on a container to identify visitors who visit page A, but don鈥檛 return to visit page B until after one day, then that day will start when the visitor leaves page A. For the visitor to be included in the segment, a minimum of 1440 minutes (one day) must transpire after leaving page A to view page B.
Within
The Within operator is used to specify a maximum limit on the amount of time between two checkpoints. For example, if the Within operator is set on a container to identify visitors who visit page A, and then return to visit page B within one day, then that day begins when the visitor leaves page A. To be included in the segment, the visitor has a maximum time of one day before opening page B. For the visitor to be included in the segment, opening page B must occur within a maximum of 1440 minutes (one day) after leaving page A to view page B.
After but Within
When using both the After and Within operators, both operators start and end in parallel, not sequentially.
For example, you build a segment with the container set to: After = 1 Week(s) and Within = 2 Week(s).
The conditions to identify visitors in this segment are met only between one and two weeks. Both conditions are enforced from the time of the first page view.

Examples

Some examples of using the time constraints.

After operator

Identify visitors that visited one page and then another page only after two weeks. For example, visitors that visited the Home page, but the Women | Shoes page only after two weeks.

Sequence after

If a page view for the Home happens on June 1, 2024, at 00:01, then a page view to page Women | Shoes will match as long as that page view occurs after June 15, 2024 00:01.

Within operator

Identify visitors that visited one page and then another page within five minutes. For example, visitors that visited the Home page and then the Women | Shoes page within 5 minutes.

Sequence within

If a page view for the Home happens on June 1, 2024, at 12:01, then a page view to page Women | Shoes will match as long as that page view occurs before June 15, 2024 12:16.

After but Within operator

Identify visitors that visited one page then visited another page after two weeks but within one month. For example, visitors that visited the Home page and then after two weeks and within one month the Women | Shoes page.

Sequence after but within

Any visitors hitting the Home page on June 1, 2024 and who are returning to visit the Women | Shoes page after June 15, 2019 00:01, but before July 1, 2019 qualify for the segment.

Hit, Visit and Dimension constraints

The Clock After and Clock Within constraints allow you not only to specify a time constraint but also a hit, visit or dimension constraint. Select Hit(s), Visit(s) or Other dimensions ChevronRight Dimension name. You can use the Search field to search for a dimension.

Example

Below is an example of a sequential segment looking for visitors that visited one product category page (Women | Shoes), followed by a checkout page (Checkout | Thank You) within one page.

Sequence segment within

The following example sequences match or do not match:

Sequence
ApproveReject
Page Women | Shoes followed by page Checkout | Thank You
CheckmarkCircle
Page Women | Shoes followed by page Women | Tops followed by page Checkout | Thank You
RemoveCircle

Include

You can specify what data to include in your sequential segment or in a sequential container that is part of your sequential segment.

Everyone include_everyone

To create a sequential segment that includes everyone, select the option UserGroup Include Everyone.

The sequential segment identifies data that match the given pattern as a whole. Below is an example of a basic sequence segment looking for visitors that visited one product category page (Women | Shoes), followed by a checkout page (Checkout | Thank You). The segment is set to UserGroup Include Everyone.

Sequential segment include everyone

The following example sequences match or do not match:

Sequence
ApproveReject
1
Women | Shoes then Checkout | Thank You in the same visit
CheckmarkCircle
2
Women | Shoes then Men | Shoes then Checkout | Thank You (across different visits)
CheckmarkCircle
3
Checkout | Thank You then Women | Shoes
RemoveCircle

Only Before Sequence and Only After Sequence

The options SequenceBefore Only Before Sequence and SequenceAfter Only After Sequence segment the data to a subset before or after the specified sequence.

  • SequenceBefore Only Before Sequence: Includes all data before a sequence and the first data of the sequence itself. If a sequence appears multiple times as part of the data, Only Before Sequence includes the first hit of the last occurrence of the sequence and all prior hits.
  • SequenceAfter Only After Sequence: Includes all hits after a sequence and the last data of the sequence itself. If a sequence appears multiple times as part of the data, Only After Sequence includes the last hit of the first occurrence of the sequence and all subsequent hits.

Consider a definition specifying a sequence of a component with criteria identified by B, followed (Then) by a component with criteria identified by D. The three options would identify data as follows:

B Then D
A
B
C
D
E
F
Include Everyone
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
Only Before Sequence
CheckmarkCircle
CheckmarkCircle
Only After Sequence
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
B Then D (occurs multiple times)
A
B
C
D
B
C
D
E
Include Everyone
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
Only Before Sequence
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
Only After Sequence
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle
CheckmarkCircle

Example

You have defined three version of a sequential segment for site sections. One with the option UserGroup Include Everyone, one with the option SequenceBefore Only Before Sequence, and one with the option SequenceAfter Only After Sequence. You named the three segments accordingly.

Sequence segment

When reporting on site sections using these three segments, the example output in a freeform table looks like:

Sequential segment report

Exclude

Segment definitions include all data unless you specifically exclude User Person, Visit Visit, or WebPage Hit data using Exclude.

Exclude allows you to dismiss common data and create segments with more focus. Exclude also allows you to create segments excluding specific groups of visitors. For example, to define a segment that specifies visitors that placed orders and then excluding that group of visitors to identify non-purchasers. A best practice is to create rules that use a broad definition rather than trying to use Exclude to target specific visitors that match specific include values.

Example of exclude definitions are:

  • Exclude pages. Use a segment definition to strip out a specific page (such as Home Page) from a report, create a Hit rule where the page equals Home Page, and then exclude the rule. This definition automatically includes all pages except the Home Page.
  • Exclude referring domains. Use a definition that includes only referring domains from Google.com and excludes all others.
  • Identify non-purchasers. Identify when orders are greater than zero and then exclude the Person.

Exclude can be used to identify a sequence where visitors do not be part of specific visits or perform specific hits. Exclude can also be included within a Logic Group (see below).

You can exclude containers, not components.

Examples

See below for examples of using Exclude.

Exclude within

Identify visitors who visited one page, did not visited another page, then visited yet another page. You exclude the container using Setting Exclude. An excluded container is identified by a thin red bar on the left.

Exclude sequence

Exclude at start

Identify visitors who visited one page without ever going to another page. For example, people that checked out a purchase without ever visited the home page.

Sequence exclude start

Exclude at end

Identify visitors who visited one page but never visited other pages. For example, visitors that visited your home page but never any of your checkout pages.

Sequence exclude end

Logic Group

NOTE
A Logic Group can only be defined in a sequential segment, meaning that the Then operator is used within the container.

Logic Group enables you to group conditions into a single sequential segment checkpoint. As part of the sequence, the logic defined in the container identified as Logic Group is evaluated after any prior sequential checkpoint and before any following sequential checkpoint.

The conditions within the Logic Group itself may be met in any order. By contrast, non-sequential containers (hit, visit, visitor) do not require their conditions to be met within the overall sequence, producing possible unintuitive results if used with a Then operator.

Logic Group was designed to treat several conditions as a group, without any ordering among the grouped conditions. Otherwise stated, the order of the conditions within a Logic Group is irrelevant.

Some best practices to use Logic Group are:

  • To group sequential checkpoints.
  • To simplify the construction of sequential segments.

Examples

Here are examples on how to use the Logic Group container.

Any order

Identify visitors that visited one page, then viewed each page out of another set of pages in any order. For example, visitors that visited the Home page, then visited each of the Men page, the Women page, and the Kids page, irrespective of the order.

You can build this segment without a Logic Group, but the construction is going to be complex and laborious. Specify every sequence of pages that the visitor could view. For clarity, only the first container is opened ChevronDown and the other containers are closed ChevronRight . You can derive the contents of the other containers by the titles.

Example not using a logic group

You can use Logic Group to simplify building this segment, as shown below. Ensure you select Group Logic Group for the container.

Example not using a logic group

First match

Identify visitors that visited one page or another page, then visited yet another page. For example, visitors that visited the Women page or the Men page, then visited the Checkout | Thank You page.

Example using first match with logic group

Exclude And

Identify visitors that visited one page then explicitly did not visit a set of other pages, but did visit yet another page. For example, visitors that visited the Home Page, did not visit the Men or the Women page, but did visit the Kids page.

Logic group exclude and

Exclude Or

Identify visitors that visited one page then explicitly did not visit any page of a set of pages, but did visit yet another page. For example, visitors that visited the Home Page, did not visit the Men and the Women page, but did visit the Kids page.

Logic group exclude and

A final example

As a final example, you want to identify visitors that learned about a specific product page, without these visitors ever touched by your Empower Your Move campaign. And in their first visit to your online store viewed the Home page but did not look further at any fitness (gear) products from the Men category. However, in their next visit directly after that, they went to a product page and placed an online order without going through the Home page first.

Complex sequential segment example

46b8682c-fda6-4669-9355-1a44923e549e