About this archived guide
Universal Analytics segment import links have been removed because that version of the service is no longer accessible. These examples describe its former interface and behavior; they are not GA4 instructions.
The examples below use the version of Google Analytics available when I first published this article.
Like many posts on this blog, this one began with a conversation at work. A few weeks earlier, I had attended a web analytics training session. The instructor covered Google Analytics basics but never mentioned events, goals, or advanced segments. Given the mixed audience of marketers, business owners, and digital specialists, I could understand that.
Then he started comparing the attendees’ websites. ‘Your visitors view 2.3 pages on average; that could be better.’ ‘They spend three minutes on the site; that’s very good.’ ‘A 33% bounce rate is excellent.’ By that last remark, I was itching to jump in. I’ll leave it at that.
Take bounce rate. If most people land on your homepage and leave after two or three seconds, a high bounce rate might suggest a problem. Now consider another case. Someone searches Google for a Nike discount code, lands directly on a page with that code, clicks to reveal it, and leaves.
The bounce rate could be high even though the visit was successful. The page answered the question quickly, and the affiliate site could earn a commission from the visitor’s subsequent activity on Nike’s website.
A metric only becomes useful when you put it in context, compare it with other data, and work out what it means. That takes more work than glancing at the main numbers in a standard report. If you want useful answers, you need to dig. So grab a shovel. We’re going to dig a little deeper.
I. What are advanced segments, and why use them?
I.a. What is an advanced segment?
Testing marketing ideas is useful only if you can assess the results. Segmentation lets you compare groups of visitors, understand their behavior, and examine the return on your efforts.

You could use built-in segments, such as mobile traffic versus desktop and tablet traffic, alongside the other presets. But custom segments were where things got interesting. Your goals, audiences, and visitor behavior differ from those of your competitors, so your segmentation should fit your own questions.
I.b. Traffic sources: how do visitors find your site?
Are you spending money to bring in visitors, generate leads, or make sales? SEO, paid search, email, affiliate marketing, display advertising, remarketing, or social media? Do you know what each campaign contributes? Advanced segments helped answer questions such as:
- Did the campaign achieve its goal?
- What was the return on investment from each traffic source?
- How many visits did a campaign bring, and how many were new visits?
- Where did organic-search visitors drop out before converting?
- What did a conversion cost, and what was a visit worth?
- How did organic-search visitors behave? [See the example segment]
- How could you isolate or exclude branded searches? [See the example segment]
- Which organic-search visits resulted in a conversion? [See the example segment]
- How did visitors from Google Images behave? [See the example segment]
- How did social media visitors behave? [See the example segment]
- What was the conversion rate for social media traffic? [See the example segment]
- And many more.
For example: suppose you generate 450 leads in February. It matters if more than 400 came from just one of five campaigns using only 20% of the budget, 90% came from people using desktop computers, and one landing page performed much better than the others. Those details could help you decide where to spend your budget, which devices to target, and which landing pages to use.
Traffic-source analysis goes beyond campaigns. It also covers available search terms, referring websites, and direct visits. Comparing those sources with demographic or behavioral information can help explain who visitors are and what they want.
I.c. Behavior: what do visitors do on the site?
Overall visitor counts, time on site, and pages viewed can look good in a presentation. But averages alone rarely tell you what to improve. Segmentation helps you identify specific patterns of behavior hidden inside those totals.
Sometimes you need to break a segment down further. Lumping all single-page visits together may not tell you much. You could distinguish:
- One page viewed by a new visitor.
- One page viewed by a returning visitor.
- One page viewed with a conversion.
- One page viewed, no conversion, and a short visit: potentially an unsuccessful visit.
- One page viewed, no conversion, but a longer stay in a particular section: a visit you need to look at more closely before drawing conclusions.
- And other shared characteristics.
You could apply the same reasoning to longer visits with or without a conversion [see the example], compare times of day [see the example], and explore many other questions.
I.d. Content: what do visitors look at?
Segments can also reveal how people use content and individual pages, particularly on an ecommerce site. Standard reports show page views, internal searches, and common paths. Segmentation lets you ask more specific questions, for example:
- Who entered through a particular page?
- Who entered through the homepage and converted? [See the example segment]
- Did people move from the blog to other parts of the site? [See the example segment]
- Which visitors entered outside the blog and continued browsing? [See the example segment]
- How did a defined cohort behave? [See the example segment]
I.e. Results: conversions and outcomes
Before analyzing results and conversions, decide what you want to measure: an action, an inquiry, a sale? Google Analytics let you define goals for different outcomes. Advanced segments could then examine major conversions, such as:
- The behavior of visitors who converted.
- The behavior of your highest-value customers. [See the example segment]
- People who converted on day one versus those who took longer – three visits or a week, for example.
- Visitors who contacted you with a specific type of inquiry.
- People who contacted you after searching for your company or domain name. [See the example segment]
- And other intermediate actions.
A major conversion may take time. That makes it useful to track intermediate steps, often called micro-conversions, such as:
- Downloading a PDF catalog. [See the example segment]
- Interacting with buttons, widgets, or videos. [See the example segment]
- Adding a product to a wish list.
- Sharing an image on Pinterest.
- Signing up for the newsletter.
- Abandoning a shopping cart. [See the example segment]
- And other intermediate actions.

In the screenshot above, I created a segment for visitors who watched my ‘Google Analytics Tutorial’ video.
Note: tracking downloads, video plays, or outbound clicks required suitable event tracking. Event tracking deserved its own article – one more for my growing to-do list.
II. How advanced segments were created in Google Analytics
II.a. Create an advanced segment
In the historical interface, click the arrow highlighted in red below to open the advanced segments area:

The interface listed all available segments. You could filter built-in, custom, and starred segments, select one, and click Apply. You could also import a segment from the public gallery or choose + Create a Segment.

The segment builder offered several filter categories on the left:
- Demographics: age, gender, language, and location.
- Technology: operating system, browser, mobile device, and screen resolution.
- Behavior: visits, transactions, and visit duration.
- Date of first visit within a selected range.
- Traffic sources: campaign, medium, source, and keyword.
- Ecommerce: revenue, time to purchase, and products.
- Conditions: up to 20 more detailed conditions covering acquisition, behavior, conversions, advertising, time, custom variables, and visitors.
- Sequences: conditions that had to occur in a particular order.
You could combine filters from several categories, give the segment a name, and save it.

II.b. Apply an advanced segment
After saving, select the segment or drag it into an available slot, then click Apply.
The interface supported up to four segments at once. The X control removed a selected segment.

The selected segments then applied throughout the report’s charts and tables. Using several at once made comparison easier, as in the example comparing a Blog segment with All Visits.

III. Twenty examples of advanced segments
The point is not to create hundreds of segments. It is to ask useful questions about your own site: its traffic sources, visitors, content, and goals.
Use the examples below as starting points for your own analysis.
The direct import buttons are no longer available because Universal Analytics has been retired.
III.a. Audience segments
Mobile traffic, excluding tablets
As smartphone browsing grew, this segment helped examine whether a site worked well for mobile visitors:

Under Conditions:
Include
Mobile (including tablet) contains Yes
AND
Tablet does not contain Yes
Historical example – import unavailable.
This excluded tablet visits, unlike the broader built-in mobile segment.
Exclude major internet service providers
The old service-provider dimension could sometimes help investigate business visitors, customers, or competitors. Excluding large consumer providers made that report easier to inspect. I built this example for my own needs; you would need to adapt it to yours.

Under Conditions, exclude Service Provider values matching this regular expression:
dynamic pools|static ip|proxad / free sas|free sas|nc numericable s.a.|adsl-go-plus|francaise du radiotelephone s.a.|sfr|france telecom|pool for broadband dsl customers|orange|broadband pool|services platform|bouygues telecom|obs customer|pool for broadband dsl cable customers|microsoft corp|pool for broadband cable customers|bluewin|free mobile|agence tunisienne internet|it services|adsl light customers|bouygues telecom|multiprotocol service provider to other isp s and end users|entreprise des p&t|hosting|bouygues telecom s.a.| bslyo|service provider|telekom|comcast |at&t|nordnet|virgin|t-mobile|dsl|vodafone|telia|easynet |provider|opera|mediacom |voip|internet|provider|cable |fiber|isp|tele|residential |fastwebs|telkom|3g|4g|belgacom |tiscali|t-com |telecom|telefonica|bloc|ip fixes|consumers |aol inc|dynamic dhcp |ip pools|videotron|sympatico |organisation|test|rue louvrex|sonatel
Historical example – import unavailable.
Segment by age group and gender
With Demographics and Interests reports enabled, Universal Analytics offered dimensions for age, gender, and interests. The historical setup involved changing the tracking implementation, reviewing the privacy requirements, and enabling the reports under Audience → Demographics → Overview. Comparing these groups could help you understand differences in behavior and evaluate your tests.
For example, the age-and-gender combinations were:
- All women
- Women, ages 18–24
- Women, ages 25–34
- Women, ages 35–44
- Women, ages 45–54
- Women, ages 55–64
- Women, ages 65 and older
- All men
- Men, ages 18–24
- Men, ages 25–34
- Men, ages 35–44
- Men, ages 45–54
- Men, ages 55–64
- Men, ages 65 and older
For men ages 25–34, for example:

Under Demographics:
Include
Age: 25–34
AND
Gender: Male
The original segment bundle is no longer available for import.
III.b. Traffic-source segments
Organic-search visits
A sequence filter could isolate users whose first interaction was an organic-search visit:

Under Sequences:
Include users
First user interaction
Step 1: Medium exactly matches organic
Historical example – import unavailable.
To include users with an organic-search interaction without requiring it to be their first, a standard condition was enough:

Under Conditions:
Include users
Medium exactly matches organic
Historical example – import unavailable.
Visitors from social networks
People may reach your site through social media whether or not you actively maintain a profile there. This historical segment grouped a range of social platforms and sharing services:

Under Conditions:
Include
Source matches the regular expression:
facebook.com|m.facebook.com|twitter.com|viadeo.com|linkedin|del.icio.us|delicious.com|digg.com|hootsuite|stumbleupon|netvibes.com|friendfeed|myspace|bit.ly|tr.im|cli.gs|zi.ma|poprl|tinyurl|ow.ly|reddit|plus.url.google.com|t.co|tweetdeck|youtube|flickr|500px|pinterest.com
Historical example – import unavailable.
You could adjust the list to include the social platforms relevant to your site.
To isolate Google+ traffic in that historical setup:

Under Conditions:
Include
Source matches the regular expression:
plus.url.google.com
Historical example – import unavailable.
Isolate or exclude ‘not provided’ keywords
Google increasingly withheld organic-search terms, showing ‘(not provided)’ instead. These two segments were intended to distinguish visits with hidden keywords from those for which keyword data remained available. They did not recover the missing terms.
Isolate ‘not provided’:

Under Conditions:
Include
Keyword contains (not provided)
AND
Medium contains organic
Historical example – import unavailable.
Exclude ‘not provided’ from organic traffic:

Under Conditions:
Include
Medium contains organic
AND
Keyword does not contain (not provided)
Historical example – import unavailable.
Organic image-search traffic
This segment examined visits arriving after an image search: their share of organic traffic, the images involved, available search terms, and destination pages.
The illustration showed landing pages on a cooking website reached through Google Images.


Image-search visits:
Under Conditions:
Include
Referral Path matches the regular expression images|imagedetail|mgres
Historical example – import unavailable.
Exclude branded keyword searches
This segment needs your own brand terms, so there was no ready-made version to import.

Under Conditions:
Exclude
Keyword contains [your company name]
OR
Keyword contains [an alternative company name]
OR
[other relevant brand variants]
Organic-search visits that converted
To assess what SEO contributed to the results, this segment combined organic traffic with a completed goal or transaction:

Under Conditions:
Include
Medium exactly matches organic
AND
(Goal Completions per Session > 0
OR
Transactions per Session > 0)
Historical example – import unavailable.
Social media visits that converted
Using the same idea, replace organic search with the social-source group to examine visits that produced a conversion:

Under Conditions:
Include
Source matches the regular expression:
facebook.com|m.facebook.com|twitter.com|viadeo.com|linkedin|del.icio.us|delicious.com|digg.com|hootsuite|stumbleupon|netvibes.com|friendfeed|myspace|bit.ly|tr.im|cli.gs|zi.ma|poprl|tinyurl|ow.ly|reddit|plus.url.google.com|t.co|tweetdeck|youtube|flickr|500px|pinterest.com
AND
(Goal Completions per Session > 0
OR
Transactions per Session > 0)
Historical example – import unavailable.
You could adjust the list to include the social platforms relevant to your site.
III.c. Behavioral segments
Multi-page visits, with and without conversions
Ten page views aren’t automatically a good sign: someone may be struggling to find an answer. But visitors often view supporting content before reaching a product, registration, or contact page. Comparing multi-page visits can therefore help explain how people move toward an action.
You could also compare the same segment across two periods to assess changes made to the site.
The original engagement illustration is no longer available.

Under Conditions:
Include
Pageviews = 3
Historical example – import unavailable.
To examine the same three-page visits when they also produced a conversion:

Under Conditions:
Include
Pageviews = 3
AND
(Goal Completions per Session > 0
OR
Transactions per Session > 0)
Historical example – import unavailable.
How many visits came before the conversion?
Compare people who converted on their first visit, their second or third, and after more than three visits. This can show which decisions take more time and where people might need more help before converting.

Conversion on the first visit:
Under Conditions:
Include
Goal Completions per Session > 0
AND
Count of Visits = 1
Historical example – import unavailable.

Conversion on the second or third visit:
Under Conditions:
Include
Goal Completions per Session > 0
AND
Count of Visits > 1
AND
Count of Visits < 4
Historical example – import unavailable.
Conversion after more than three visits:
Under Conditions:
Include
Goal Completions per Session > 0
AND
Count of Visits > 3
Historical example – import unavailable.
Compare times of day
I divided the day into four ranges: midnight–8 a.m., 8 a.m.–1 p.m., 1–6 p.m., and 6 p.m.–midnight. Adjust the ranges to the question you’re asking.
If you run a physical store, you could compare visits during business hours with visits after closing, then add a location filter to focus on local visitors.

The original time-of-day illustration is no longer available.

For the 8 a.m.–1 p.m. range:
Under Conditions:
Include
Hour < 13
AND
Hour ≥ 8
Historical examples – imports unavailable:
Midnight–8 a.m.
8 a.m.–1 p.m.
1–6 p.m.
6 p.m.–midnight
III.d. Content segments
Visitors who move from the blog to the rest of the site
One of my favorite examples. If a blog’s purpose is to attract visitors who then explore the rest of the website, isolate visits that begin on the blog and end in another section.

Under Conditions:
Include
Landing Page contains /blog/
AND
Unique Pageviews per Session > 1
AND
Exit Page does not contain /blog/
Historical example – import unavailable.
Event and action analysis
This example required event tracking to be implemented first. Events recorded specific visitor actions, such as outbound clicks, downloads, form interactions, or video plays. At the time, this used the trackEvent implementation.
For example, if support-chat interactions were tracked, you could examine how often people used the chat and which purchases followed. Comparing support costs with the associated revenue could help assess the service’s value, while remembering that association alone doesn’t prove the chat caused the sale.
Here is the example for visitors who downloaded a PDF catalog:

Under Conditions:
Include users
Event Action contains Download
AND
Event Category contains PDF Catalog
Use the exact event names implemented on your site.
Historical example – import unavailable.
Cohort analysis
A cohort is a group of visitors sharing a characteristic within a defined period. User-level segmentation could help follow a group over time and examine longer-term campaign results. You might define a cohort by:
- Traffic source – for example, visitors from a January 2014 AdWords campaign promoting a 10% sitewide discount.
- Visit frequency – for example, people who visited more than four times during a given period.
- Revenue – for example, customers who spent more than €500 during a given period.
- Landing page – for example, visitors who entered through the FAQ in 2013 – or an action, such as downloading the Facebook PHP tab template that year.
- A sequence of actions, such as viewing a particular page and then using a tool or downloading a document.
- And other shared characteristics.
Suppose a display campaign ran in January and February 2014. You could compare people who first visited in January with those who first visited in February. This example isolates the January group for the campaign ‘Promo-MagicLight-Display.’ Identifying that campaign required the appropriate campaign parameters on the links.
The original cohort-analysis illustration is no longer available.

Under Date of First Visit:
First visit between January 1 and January 31, 2014
AND
Under Conditions:
Include users
Campaign exactly matches Promo-MagicLight-Display
Historical example – import unavailable.
Visitors who entered through the homepage and converted
Where did those visitors come from, what were they looking for, and which pages did they view before converting? This segment lets you look specifically at those visitors.

Under Conditions:
Include
(Landing Page exactly matches /
OR
Landing Page exactly matches /index.html
OR
Landing Page exactly matches /index.php
OR
Landing Page exactly matches /index.jsp)
AND
Goal Completions per Session > 0
Historical example – import unavailable.
Visitors who entered outside the blog and kept browsing
A blog can have many single-page visits for perfectly reasonable reasons. If I search for a Nutella crêpe recipe, find a good one, and close the page, I may have found exactly what I needed. Why browse related recipes when I’m hungry and the butter is already melting?
This segment was intended to examine visitors who entered somewhere other than the blog and viewed more than one page.
The example identifies blog pages by /blog/ in the URL; a different site structure requires a different condition.

Under Conditions:
Include
Landing Page does not contain /blog/
AND
Pageviews > 1
The visit-duration condition in the archived version is unreadable. The filter shown here selects visits that continued beyond the first page.
Historical example – import unavailable.
III.e. Ecommerce segments
High-spending customers
Look at customers who spend substantially more than average. The threshold depends on the business. If the average order is €33, for example, you might examine visits generating more than €100.
Compare that group by source, available keywords, products, landing pages, or location.

The original high-value customer illustration is no longer available.
Revenue threshold:
Under Conditions:
Include
Revenue per Session above the equivalent of 100 currency units.
The original example expressed this as 100,000,000 in the historical representation it used. It is not a value to paste into GA4.
Historical example – import unavailable.
Cart abandonment
For an ecommerce site, examine visits that reached the cart but did not produce a transaction. Adding a traffic-source condition can make the comparison more specific.
My example used /panier in the URL. Use the actual cart path on the site being analyzed.

The original cart-abandonment illustration is no longer available.
Under Conditions:
Include
Page contains /panier
AND
Transactions per Session = 0
Historical example – import unavailable.
IV. Conclusion
Not every example will fit your site. I hope they give you ideas for asking better questions of your own data.
Segmentation is useful when it supports a decision. Ten relevant segments that you actually review can teach you far more than fifty you never have time to open.




