Edit
Contact us
Salocin Group Leaders in data and AI-enabled connected customer experiences
Edit Engineers of connected customer experiences
Join the Dots Independent, data-led media thinking for sustainable growth
Wood for Trees Optimisers of future fundraising performance
  • Home
  • Our services
    • Cloud solutions
    • Data science
    • Modern Data Platform
    • Privacy and AI compliance
  • Our partners
    • Microsoft
    • Apteco
    • Salesforce
  • Our insights
    • Blog
    • Case studies
    • Reports
    • Webinars
    • Whitepapers
  • About Salocin Group
    • Careers
  • Contact Salocin Group
  • Home
  • Who we are
    • B Corp
    • Careers
  • Our work
  • What we do
    • Intelligent data
    • Marketing technology
    • Transformational CRM
    • Our technology partners
    • Privacy review
  • Our insights
    • Blog
    • Case studies
    • Reports
    • Webinars
    • Whitepapers
  • Contact Edit
  • Home
  • Broadcast media
  • Digital media
  • Print
    • Direct mail
  • Data
    • Our work with Herdify
    • EPiC
  • Media agency
  • Our insights
    • Blog
    • Case studies
    • Reports
    • Webinars
    • Whitepapers
  • About Join the Dots
    • Careers
  • Contact Join the Dots
  • Home
  • Services
    • Actionable insight
    • Data discovery
    • Data engineering
    • Data hygiene
    • Privacy review
  • Products
    • InsightHub
    • Apteco
    • Microsoft
    • Data management
    • Consent and preference management
  • Our insights
    • Blog
    • Case studies
    • Reports
    • Webinars
    • Whitepapers
  • About Wood for Trees
    • Operating principles
    • Careers
  • Contact Wood for Trees
Blog

Why you need to be using Content Groupings starting now

By Edit | 23 Oct 2015

We published this a long time ago…

Some of the content in this post might be out of date, and some images and links may no longer work.

Discover who we are and how we may be able to help you today:

Learn more

Today I’m going to talk about Content Groupings and why you should be using them, starting now.

What are Content Groupings and why bother?

Our website is currently laid out like this:

With Google Analytics as is, I can report on both the site as a whole and individual pages. The middle part of the above diagram takes a bit more work.

With Content Groupings, I can easily report on the middle part.

They allow me to change this:

Into this:

A filter won’t do this – they filter in or out certain visits to your website. A Content Grouping keeps all the visits you want it to keep.

An advanced segment can’t do this by itself – you would need to be running several advanced segments at once to be able to compare one set of pages to another.

Google Analytics’ search functionality won’t do this – it can only search for one group at a time and isn’t good for comparing different groups.

That is why Content Groupings are amazing.

Content Groupings sound great – how do they work?

Content Groupings are effectively a kind of Google Analytics filter. However, instead of filtering sessions out so you can’t see them, it puts them into a box depending on rules you’ve created.

There are three different ways for you to tell Google which “box” everything should belong in. Which method you use depends on what kind of website structure you have, the amount of development resource you have, and whether or not you have an understanding of RegEx.

Method 1: Tracking Code

  • You can add tracking code to every page of your website
  • Google Analytics uses the code to determine what kind of page it is
  • Google Analytics automatically assigns a category based on the code
  • This relies on good developer knowledge

Method 2: Extraction

  • This is defined in the Admin section of Google Analytics
  • You use RegEx to extract a section of a URL
  • Google Analytics assigns this extraction as the category
  • This relies on good site taxonomy and knowledge of RegEx

Method 3: Rule Defining

  • Rules are defined in the Admin section of Google Analytics
  • You can set your own rules based on URL structure
  • Rules can be specific or more generic
  • No specialised knowledge is required

Content Grouping Comparison

MethodTracking codeExtractionRule defining
Need access to site codeYesNoNo
Need admin access to Google AnalyticsYesYesYes
Need developer knowledgeYesNoNo
Must understand RegExNoYesMaybe
Needs a site with good TaxonomyNoIdeallyIdeally
Automatically applies to new URLsNoYesYes
Automatically applies to new site buildsNoYes, but needs checkingYes, but needs checking
Requires manual naming of Content GroupsYesNoYes
ProsCan be used regardless of sites taxonomyAutomatically groups for youEasy to implement
ConsNeed developer knowledge/very manual processDifficult without RegEx knowledgeDifficult for sites without good taxonomy
Best forSites with inconsistent taxonomySites with dynamic URLsSites with easily grouped subfolders

<!–

–>

How do I create a Content Grouping?

Here is how to create a Content Grouping in a few simple steps:

  1. Login to Google Analytics
  2. Click “Admin”
  3. Under “View” click “Content Grouping”
  4. Click “+New Content Grouping”
  5. Choose the method you want to work with: Tracking Code, Extraction, or Rule Definitions
  6. Save your Content Grouping

If you require any further help with the implementation of Content Groupings, Google has a good, in-depth guide on Content Groupings.

How do I see the results of my Content Grouping?

OK, now that you’ve created a Content Grouping you might want to know how to actually see the data.

  1. Login to Google Analytics
  2. Select your reporting view
  3. On the left-hand side, click “behaviour”
  4. Select a report from “Site Content” (any report that includes pages is fine)
  5. Under the graph, there is a label called “Content Grouping” – select the Content Grouping you have previously created
  6. The table below will change from URLs to Content Groups!

 Content Grouping best practices and precautions

A few things to bear in mind when creating Content Groupings for the first time:

  • Decide your groups before you create your Content Groupings.
  • Like filters, Content Groupings do not work retrospectively.
  • Similarly, once a Content Grouping has been applied, that data cannot be regrouped. If you change your Content Grouping, only the data going forward will be included in the new group.
  • If using the “Rule Defining” Content Group, be aware that the rules apply in order. For example, if you have a URL like “/blog/5-tips-for-credit-card-owners/” and you have two rules, one for anything containing “/blog/” and one for anything containing “credit-card”, the rule at the top of the list will apply first. So, if the blog rule is above the credit card rule, this page will be classified as a “blog” page. If the credit card rule is above the blog rule, this page will be classified as a “credit card” page. Think carefully about your rule orders.
  • Your homepage should be within its own “homepage” group, as the homepage serves a function that no other page serves and should be reported on separately.
  • If using the “Rule Defining” Content Group, the final rule should be “page URL matches RegEx .*” and it should be named “Other”. This means that any page that did not fall into a prior category will be categorised with “Other”.
  • If your website’s taxonomy changes, check your Content Grouping rules to see whether they require any amends.
  • If using the “Tracking Code” Content Group, ensure that the additional code is placed on any new website pages.

 

Resources

Googles Resources for Content Groupings

Extraction Content Groupings and RegEx

RegEx and Google Analytics tutorial video

RegEx Cheat Sheet

RegExr for checking your RegEx

If you liked this post, you may like my previous Google Analytics blog posts such as How to get awesome actionable data from your events in Google Analytics and Google Analytics metrics for dummies (and clever people): Parts 1 and 2.

We published this a long time ago…

Some of the content in this post might be out of date, and some images and links may no longer work.

Discover who we are and how we may be able to help you today:

Learn more

Share this

  • Email
  • WhatsApp
  • LinkedIn
  • Facebook
  • X (Twitter)

More insights

AI isn’t going to take your job (unless you really want it to) 
Blog

AI isn’t going to take your job (unless you really want it to) 

By Edit | 18 Jun 2024
Customer relationship marketing: How generative AI is revolutionising engagement  
Blog

Customer relationship marketing: How generative AI is revolutionising engagement  

By Edit | 4 Apr 2024
Personalisation as a process
Blog

Personalisation as a process

By Edit | 8 Mar 2024
  • Privacy policy
  • Cookie policy
  • Ts&Cs
  • Report a concern

© 2025 Edit, part of Salocin Group Ltd. All rights reserved. Company no.: 0362​4881. VAT no.: 4208​34911.

Salocin Group Certified B Corporation | Cyber Essentials Certified | British Assessment Bureau, ISO 27001 Information Security Management
Salocin Group
Your cookie preferences

We use cookies to ensure this website functions properly, to analyse website traffic and for marketing purposes.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}