See
A sequential segment has some basic functionality and additional options that you can configure to add more complexity to the 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.
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
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
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
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.
After and Within
You can use
Time constraints
To apply time constraints to the Then operator:
- Select
- Select Within or After from the context menu.
- Specify a time period (Minute, Hour, up until Years).
- Select the
To remove a time constraint, use
The table below explains in more detail the time constraint operators.
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.
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.
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.
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