Segments are created to hold groups of users, for e.g. retargeting (sometimes called remarketing) purposes. The most common use and purpose of retargeting is to stay top of mind of consumers and drive action and conversion.
UI Version 1:
Segments are created in Assets / Segments., and sizes of existing segments are shown in Supply / Segment Statistics. Segment invocation scripts are extracted in Assets / Tracker Invocations.
UI Version 2:
Create and view existing segments in Supply / Segments. Use the tag icon on each row to manage invocation scripts.
A segment can optionally be given a path, to indicate that it will collect users only visiting a certain subpage of a domain. If no path is set, all paths are accepted. Paths are given with an opening forward slash. E.g.
to collect data onto the segment for all pages starting with the URL
Paths can also be given as a regular expression, conforming to the following format and rules:
- starts with '^'
- ends with '$'
- must be written to match the full path of the site including optional or mandatory query parameters.
- match will be done from the first slash following the domain
Segments can hold other segments. When a segment is triggered, its contained segments are iterated as well, and users are placed there.
Working with segment paths and contained segments makes it possible to collect users into several specifc segments from only one segment invocation. Just attached segments with path defined as contained to the segment whose invocation script is placed on the website.
With segment affinity reporting, sites are presented that has a relatively high ratio of users belonging to the given segment. This information can be useful when understanding a segment and where its users are found on the Internet.