What are comparisons (advanced segments) in Google Analytics 4?
The comparisons (advanced segments) in Google Analytics 4 allow you to evaluate subsets of your data side by side. For example, you might compare all data generated by desktop devices and all data generated by mobile devices.
In GA4, comparisons take the place of segments and filters that you’ve used in Universal Analytics properties.
Just like segments, comparisons allow you to isolate and analyze a subset of data.
For example, if you find that users from a particular device category (let’s say mobile) are no longer interacting in the same volume as they normally have, you can see whether your website is having any issues with the particular device type.
If found true, you can take the necessary actions to make your website more user-friendly and interactive for mobile devices.
Where can you build comparisons in GA4?
You can build comparisons in all the reporting tabs available in GA4:
Reports Snapshot Tab
Real-time
Acquisition >> Acquisition Overview
Acquisition >> User Acquisition
Acquisition >> Traffic Acquisition
Engagement >> Engagement Overview
Engagement >> Events
Engagement >> Conversions
Engagement >> Pages and Screen
Monetization >> Monetization Overview
Monetization >> Ecommerce Purchase
Monetization>> In-app Purchases
Monetization >> Publisher Ads
Retention >> Overview
Demographics >> Demographics Overview
Demographics >> Demographics details
Tech >> Tech Overview
Tech >> Tech details
You create comparisons by creating conditions based on dimensions and dimension values. For example, all users vs users from country equals ‘United States’.
Now let’s build a comparison to understand this concept in more detail.
How to build comparisons (advanced segments) in Google Analytics 4?
Follow the steps below to build a comparison.
Step 1: Log in to your Google Analytics 4 account and select any reporting tab where you want to build the comparison. In this example, I am selecting the ‘Report Snaphot’ tab.
Step 2: Click on ‘Add comparison’.
Another way to build a comparison is by clicking on the ‘Customize report’ option available at the top right corner.
Step 3: An overlay will appear on the right-hand side, as below.
Here we need to define the conditions for the comparison based on dimensions and dimension values. Now click on the drop-down marked ‘Include’.
Step 4: You will get a pop-up like below to select the condition. The conditions available is ‘Include’ (to include a particular dimension for comparison) and ‘Exclude’ (to exclude a particular dimension from the comparison).
Select your condition. Here I am selecting ‘Include’.
Step 5: Now click on the drop-down menu ‘Select dimension’.
Step 6: A list will pop up, like below. You can scroll down or up to select a dimension or you can simply type it in the available input box.
Once you selected the dimension another drop-down will be visible as ‘Dimension values’ as below.
Step 7: Click on the drop-down under ‘Dimension values’.
Step 8: A list will appear, like below. You can scroll down or up to select a dimension value or you can simply type it in the available input box.
You can also select multiple values. Note that ALL dimension values selected for the same condition are evaluated with ‘OR’ logic. For example, if you select ‘United States’ and ‘Canada’, users from both countries will be included in the comparison. In our example, I am selecting only ‘United States’.
Once the dimension values are selected, click on ‘OK’.
Your comparison will look like below. It will also provide you with a summary of the dimensions and conditions used while building the comparison.
Step 9: If you want to add more conditions to your comparison you can click on ‘+ Add new condition’.
Step 10: Repeat the steps for selecting dimensions and their value (Step 3 to Step 8).
As an example of adding a new condition, here I will be selecting device category = desktop.
Note that multiple conditions within the same comparison are evaluated with ‘AND’ logic. For example, for (Country = United States) AND (Device Category = desktop) users from United States AND those who use desktop will be included in the comparison.
You can add up to five conditions in a single comparison.
Step 11: Once you have added all the conditions, click on ‘Apply’.
Congratulations! You have successfully built a comparison in Google Analytics 4.
You can now see the data for the selected comparison side by side with all users. A colour-coded version of the data appears for each comparison.
Comparison definitions appear at the top of your reports and remain in effect as you switch reports unless they do not apply to the data in the report.
The blue line represents all users and the orange line represents the users from the comparison we built i.e. country = ‘United States’ AND device category = ‘desktop’.
You can click on various metrics available to check the performance of the users available in the comparison.
You can see different reports side by side with our comparison conditions.
Country report
Source Medium report
Step 12: If you want to add more comparisons, you can build up to five multiple comparisons at the same time. Just click on ‘Add comparison’.
Repeat the steps for adding conditions to your comparison.
In the below image I have added four comparisons:
All users
Desktop users
Mobile users
Tablet users
Step 13: If any time you want to close the comparison click the ‘X’ to the right of the definition.
Limitations of comparisons in GA4
Since comparisons are temporally created segments there are a few limitations to it
You cannot save the comparisons.
If a report doesn’t support a condition, e.g. the report doesn’t include one of the dimensions, then a blank card appears for that comparison.For example, I have created a comparison for ALL users vs users who use the ‘Arabic’ language. In the below image you can see there are no users in real-time who use ‘Arabic’ and hence it is showing a blank card.
Not all dimension values may be available. Some dimensions are not allowed to be excluded, while others are not available due to your comparison conditions configuration.
Summary
Comparisons allow you to isolate the data for specific users using the dimensions and hence you can analyze their performance for various metrics.
You can add up to five conditions in each comparison and you can create up to five comparisons at the same time. So, that is how you can build comparisons in Google Analytics 4.
Other articles related to GA4 (Google Analytics 4)
Frequently Asked Questions About Comparisons in GA4
What are comparisons in Google Analytics 4?
In Google Analytics 4, comparisons allow you to evaluate subsets of your data side by side. For example, you might compare all data generated by desktop devices and all data generated by mobile devices. In GA4, comparisons take the place of segments and filters that you’ve used in Universal Analytics properties. Just like segments, comparisons allow you to isolate and analyze a subset of data.
Where can you add comparisons in Google Analytics 4?
You can build comparisons in all the reporting tabs available in GA4:
What are the limitations of comparisons in Google Analytics 4?
Since comparisons are temporally created segments there are a few limitations to it • You cannot save the comparisons. • If a report doesn’t support a condition, e.g., the report doesn’t include one of the dimensions, then a blank card appears for that comparison. For example, I have created a comparison for ALL users vs users who use the ‘Arabic’ language. In the below image you can see there are no users in real-time who use ‘Arabic’ and hence it is showing a blank card. • Not all dimension values may be available. Some dimensions are not allowed to be excluded, while others are not available due to your comparison conditions configuration.
Register for the FREE TRAINING...
"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."
Here’s what we’re going to cover in this training…
#1 Why digital analytics is the key to online business success.
#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.
#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.
#4 Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.
#5 The number 1 reason why conversion optimization is not working for your business.
#6 How to advertise on any marketing platform for FREE with an unlimited budget.
#7 How to learn and master digital analytics and conversion optimization in record time.
My best selling books on Digital Analytics and Conversion Optimization
Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.
Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.
Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.
Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.
About the Author
Himanshu Sharma
Founder, OptimizeSmart.com
Over 15 years of experience in digital analytics and marketing
Author of four best-selling books on digital analytics and conversion optimization
Nominated for Digital Analytics Association Awards for Excellence
Runs one of the most popular blogs in the world on digital analytics
Consultant to countless small and big businesses over the decade
Learn and Master Google Analytics 4 (GA4) - 126 pages ebook
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.