When creating a segment, and if you have already selected one condition, you can either narrow this condition or add a new condition.

Definition

Add new condition

« Add new condition » allows you to add a condition independently of the first one: condition A and/or condition B. You can add as many condition as you want to: condition A and/or condition B and/or condition C etc. The order of the conditions does not matter.

Narrow this condition

« Narrow this condition » allows you to clarify an existing condition. It is similar to mathematical parenthesis: (condition A and/or condition B) and/or (condition C and/or condition D). Once again, you can add as many conditions as you want to.

Examples

Example 1

In this example, the visitors targeted are the one coming from a SEO and located in France or all visitors coming from an emailing. Here, the condition “IP geolocation” only applies to visitors coming from a SEO.

(condition A and condition B) or (condition C)

The colored lines on the right help you to better understand the logical links between your different conditions. In this case:

  • the first two conditions must be cumulated (AND): the same orange line links them together;
  • the third condition differs from the other two (OR): its line is pink.

Example 2

In this example, the visitors targeted are the new ones who have seen more than 2 pages or returning visitors who have seen more than 4 pages.

(condition A and condition B) OR (condition C and condition D)

The colored lines on the right help you to better understand the logical links between your different conditions. In this case, two blocks of conditions can be distinguished from each other (OR): the first is orange, the second is pink.

Example 3

In this example, the visitors targeted are the visitors on the page https://www.mozilla.org/fr/about who have seen more than 3 pages or browsing the website for more than 6 minutes.

Even if only one page is targeted, the conditions “Number of page views” and “Elapsed time” will take the whole website into account.

condition A and (condition B or condition C)

The colored line on the right helps you to better understand the logical links between your different conditions. In this case, all the conditions are part of the same set: the visitor is included in the segment from the moment he meets the first condition and at least one of the two following ones.

Example 4

In this example, the visitors targeted are either the visitors of a specific page who converted a goal or visitors with a certain number of tabs open or visitors whose last visit was less than 7 days ago or visitors on mobile.

((condition A and condition B) or condition C) or condition D or condition E

Example 5

In this example, the visitors targeted are either the visitors of a specific page, who also arrived either on page XX of the website or on page YY of the website, or visitors coming from a specific acquisition channel.

(condition A and (condition B or condition C)) or condition D

Example 6

In this example, the visitors targeted are the visitors of a specific page who also arrived either on page XX of the website or on page YY of the website, and who also come from a specific acquisition channel or are about to exit the website.

(condition A and (condition B or condition C) and (condition D or condition E))