Segment Filters

Segment filters are used to define the type of sessions to include in a segment.

Adding segment filters

  1. When creating a segment, click Add filters.

    The available segment filters appear in a series of tabs. Depending on the segment filter selected, the options available differ. For example, in the image below, you can select whether you want the filter to apply if DXA doesn't detect "Bird's nest" behavior in a session or if DXA does detect "Bird's nest" behavior.
    Note: For details on available segment filters, see Segment filter types. For details on the options available for each filter, see Segment filter options.
    Segment filters
  2. Select the filter and option to apply.

  3. Click Apply this filter.

    The selected filter and option appear under Segment filters.List of segment filters applied to a segment

  4. (Optional) Repeat steps 1 to 3 for any other filters you want to apply.

    In the image below, the segment will capture sessions where DXA detects "Bird's nest" behavior and a focus time of up to 5 seconds.List of segment filters applied to a segment with more than one segment

  5. Click Save Segment.

The segment is saved and appears on the list in Segment Definition. Allow some time for the segment data to process before it can be used.

New segment in Define Segments

You can now use the segment in sessions, heatmaps, forms, alerts, and technical reports using the Segment dropdown menu.

Segment filter types

Behavior

Use Behavior filters for segments where DXA doesn't detect or does detect specific visitor Behaviors, such as Bird Nesting and Rapid Scrolling.

The following options are available for each Behavior filter:

  • No — The segment captures sessions where DXA doesn't detect the selected Behavior.

  • Yes — The segment captures sessions where DXA does detect the selected Behavior.

Engagement

FilterDescription
AttributeDisplay any element with a DXA ID or a custom ID.
BouncedRefers to whether the visitor just viewed one page and then left.
DomainWhat domain the user visited during their session (i.e if you have multiple domains or subdomains on an account, you can specify which domains you want to segment by).
Entry pageThe page that the visitor entered the property on.
Entry Page Group The page group that the visitor entered the website on.
Exit pageThe page that the visitor exited the website from.
Exit Page GroupThe page group that the visitor exited the website from.
Focus time

Length of time the page or screen was the main focus on the visitor's device. If the visitor goes to a different browser tab or opens a different program while DXA is running, this would count towards the total duration and not the focus time.

Goal countThe number of goals achieved in the session.
Opened tabsThe number of opened tabs that the visitor was viewing the property on during their session.
Page countThe number of pages visited in a session.
Page GroupSessions from any point in a page group.
Page titleThe title of pages that the user viewed in their session.
Pages viewedThe pages that the user viewed or didn't view in their session.
TagTags included in a session.
Time on siteThe amount of time the user spent on the property.

Form

Note: Form segment filters aren't available for DXA for Mobile.
FilterDescription
Element abandoned If a visitor has engaged with a field but not entered a value.
Element completedIf a visitor has completed a specific element or field of a form.
Element engagedIf a visitor has engaged with a specific element or field on a form.
Element erroredIf a visitor has encountered any validation errors on a specific element or field.
Form abandonedIf a visitor abandoned a form.
Form completedIf a visitor completed a form.
Form engagedIf a visitor engages with any element within a form.
Form erroredIf a visitor encounters a validation error on a form.
Form validation errorIf a user encounters a form validation error.
Note: This filter requires form error reporting to be enabled during DXA implementation.

Integrations

Integrations filters allow you to add segments already created in supported data connectors, such as Medallia Digital and Google Analytics.

Note: For more information, see the pages for each product in Data Connectors.
Interaction
Interaction filters allow you to filter on visitor interactions that have been detected from our behavior-detection algorithms, such as Mouse speed and Number of clicks/touches.
Note: For details about each filter, click the filter name on the left.

Technical

FilterDescription
Application errorIf the visitor experienced an application error during their session. Application errors need to be configured using the sendApplicationError call.
Note: This filter requires application error tracking to be enabled during DXA implementation.
HTTP errorIf the visitor received a specific HTTP error (such as 404 Not Found). This will need to be configured using the sendHTTPerror call. For more information, see Configuring Application Error Messages.
Note: This filter requires HTTP error tracking to be enabled during DXA implementation.
HTTP error occurredIf any HTTP error occurred during the visitor's session. As mentioned above, these need to be configured using the sendHTTPError call.
JavaScript errorIf the visitor received a JavaScript error at any time in their session.
URL fragmentIf fragmenting is set up then you can segment by these fragments.

For example, if you had a URL such as the following:

www.decibel.com/cart#!checkout/billingSection and had fragmenting set up, you could segment by checkout/billingSection.
URL queryIf a property uses query strings, you can segment by them here.

For example, in www.decibel.com/blog?post=17, you could segment by post=17.

Wait time

Average time taken before visitors are able to interact with the page before fully rendering

Traffic

FilterDescription
ChannelThe channel the visitor came to the property from, such as Google or Facebook.
IP AddressThe IP address from which the visitor came to the property.
RefererThe website the visitor arrived from, such as a Google search result or a Medium article.
UTM campaignThe UTM campaign code from which a visitor arrived on the property.
UTM mediumThe UTM medium code from which a visitor arrived on the property.
UTM sourceThe UTM source from which a visitor arrived on the property.

Visitor

FilterDescription
BrowserThe visitor's browser, such as Google Chrome or Mozilla Firefox.
CountryThe country that the visitor browsed to the property from.
Device typeThe device used by the visitor, such as desktop, tablet, or mobile phone.
LanguageThe language that the visitor's browser is set to.
Operating systemThe operating system of the visitor's device, such as iOS 15, macOS Catalina, or Windows 10.
Screen resolutionThe screen resolution of the visitor's device screen.

Both the screen width and height can be configured.

StatusThe lead status of a visitor.
Note: This can be configured using tracked events.
Time of visitThe day and time the visitor came to the property.
Viewport sizeThe size of the visitor's viewport when viewing the site (i.e. how large the part of the browser that shows the page is).

Both the screen width and height can be configured.

Visitor countThe number of times a visitor has visited the site.
Visitor typeThe type of visitor.

Custom

You can use custom dimensions as segment filters and search for sessions matching custom dimension data, such as order IDs.

Note: For more information, see Custom dimensions.

The names of all custom dimensions used as segment filters are listed on the left. The options available for each filter depend on the Type chosen when creating your custom dimension.

Segment filter options

Depending on the segment filter selected, the options available to use the filter differ. The options available are outlined below.
OptionDescription
one ofRefers to one of the following selected. The Please select ... box below this will allow you to search for specific pages or browsers, and you can select one or multiple of these. By selecting one of and a number of pages, this would mean that the visitor only had to reach one of the pages selected to meet this criteria.
all ofSimilar to above, but all of the selected. If you were to add two pages into the Please select ... box, then the visitor will have had to view all of the pages that you have selected to meet this criteria.
not any of Not any of the selected. Again, if you add two pages into this text box, then the visitor will have had to not view either of these pages to meet the criteria.
matches regex Here you can use a regular expression (regex) to define the criteria, and if the visitor matches, they will be part of the segment.

For example, you could use a wildcard statement (.*) when using custom dimensions to search for any session with that custom dimension present.

does not match regexSimilar to above. The visitor can create a regex statement and if the session doesn't match it (for example, by not having the custom dimension present), they will not meet the criteria.
containsA simple contain criteria.

For example, if you wanted to see visitors who have viewed your company's blog, you could simply enter "blog" into the text box and all users who viewed a URL containing "blog" will match this criteria.

does not containSimilar to above, but must not contain what is input into the text box.

For example, if you were to enter "blog" in the text box, any sessions where the user visited a URL containing "blog" means they would not meet the criteria, whereas if they did not visit a URL containing "blog", they would meet the criteria.

anyRemoves the text/search option and simply references "any" of the criteria.

For example, in the Form abandoned filter in the Form tab, selecting any will mean any form abandoned.

noneSimilar to above. Removes the text/search option and simply references "none".

Using Form abandoned as an example again, selecting none will mean no forms were abandoned.