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
    • Apteco
    • Creatio
    • Microsoft
    • Salesforce
  • Our insights
    • Blog
    • Case studies
    • 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
    • Whitepapers
  • Contact Edit
  • Home
  • Broadcast media
  • Digital media
  • Print
    • Direct mail
  • Data
    • Our work with Herdify
    • EPiC
  • Media agency
  • Our insights
    • Blog
    • Case studies
    • 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

Custom Content Groups in Google Data Studio

By Edit | 13 Sep 2017

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

Customising Content Groupings or Channel Groupings within your Google Analytics account can be a great way of better attributing marketing efforts, or even just looking at the data a different way. But the issue, like all things GA, is that they only take effect once set up, and historical data won’t be included in the new setup.

There are still advantages to segmenting within the GA account itself, but there’s now a way to attribute all of your data using Google’s Data Studio (historical too!). By connecting Google Analytics to Google Data Studio, you can pull on the API to create new dimensions for use in your reports. These could include:

  • Custom Content Groups
  • Custom Channel Groups
  • Sales Regions

The flexibility of Data Studio allows you to set up a variety of different groups and lets you visualise them side-by-side. For instance, if your site is a clothing brand, you may want to know how men’s products perform vs women’s products. You may also want to know how each item performs, whether this is jeans, shirts, dresses, shoes etc. Both are possible.

How it’s done in Data Studio

This is possible using calculated fields and using the CASE WHEN function available. Here’s an example of how it works:

CASE

WHEN Regex_Match(LandingPage, ‘/mens’) THEN “Mens”

WHEN Regex_Match(LandingPage, ‘/womens’) THEN “Womens”

WHEN Regex_Match(LandingPage, ‘/kids’) THEN “Kids”

ELSE “Other”

END

So, what is this doing?

The example above uses the Landing Page dimension to match with Regular Expressions (Regex) the URL of the page. It then renames the groupings to Mens, Womens, Kids or Other to be more user-friendly in the report.

This creates a dimension you can use in your reports, with the output looking something like this:

Landing page isn’t the only option here either – you have the API connection to play with, meaning you could group different pages, mediums, sources, countries, cities, campaigns, and more!

Explore how you can segment your data, and gain more insight into how your users are interacting with your business.

Last June Google’s Data Studio quietly added data export functionality.

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
Read more
  • 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}