Log in to your account
Sign up

How To Set Up Content Grouping In GA

28 March 2017 | 0 comments | Posted by Che Kohler in nichemarket Advice

How to create content groupings In Google Analytics

Regardless of what business are you in, everyone would love better insights into what visitors are doing on their site. It might be a blog, lead generation or e-commerce site, it doesn’t matter, they all are driven by one key measure, content.

Content is why your users visit your site, stay on your site and return to your site. Whether you're adding new products, new services, new categories, new blog articles how do you know which of these content sections are worth your time and effort? Do you know exactly how each of your website sections performs? If the answer to these questions is a resounding no, then listen closely.

What is content groupings?

Content Grouping lets you, group, content into a logical structure that reflects how you think about your site or app, and then view and compare aggregated metrics by group name in addition to being able to drill down to the individual URL, page title, or screen name

Why is grouping your site important

Introducing Content Groupings to your Google Analytics account will provide you with a better and more importantly automated overview of your site. Content Groupings are very powerful in structuring and analysing your content performance in a smarter way and gives you key insights into content performance and optimisation tactics that are crucial for every website.

By default Google Analytics shows you all the different pages that have received at least one-page view in the selected period. For larger sites with high traffic numbers breaking down the site into bite-sized pieces, you can analyse easier is a godsend. It makes it easy to discover blockages you want to remove, trends you want to enhance or decrease and even behaviour you never knew existed.

Introduction to content groupings by Google Analytics

How to Set Up Content Groupings

Google Analytics offers a couple of ways to set up your content groupings.One way to do it is via the Google Analytics admin interface or via Google Tag Manager. The reason for so many options is to provide website owners to customise your groupings to suit your current website structure or CMS limitations. So read through all the options available and select the one that suited to your site.

Note! Content groupings are effective only from the date of creation and do not apply retroactively.

Google Analytics

Using Google Analytics there are three different ways to set up content groupings, set up by tracking code, by extraction and by rule definition.

The first step is to navigate to the admin interface in Google Analytics and click on content groupings.

1. Content Grouping by tracking code

The first option is to modify your JavaScript tracking code (good option if you have the solid technical knowledge or work closely together with a web developer).Enable Content Grouping By Tracking Code

Once you have the code for each content section you will need to manually or dynamically set this up for each of your website content sections that you want to separate from each other. Adding this to the head tag along with your GA page view tag.

This method doesn't depend on your website architecture, it is a suggested method if it cannot be based on directory/subfolders or you're using a subdomain for each section but sometimes this is the only option to structure the content groups in your desired way or you want an added measure of control.

2. Content Grouping using extraction

The second option is to work with extractions. You can define your content groups by page or page title (websites) or screen name (apps).Grouping Content by extractionIf you know how to use regex (regular expressions) then this method is perfect for you, finding consistencies in URL structure to group together similar content.

This method works well with an SEO friendly website structure that makes use of subfolders or a consistent website structure. You can define your content groups either by slug or by subfolder.

For example:

  • /services/google-analytics-audit
  • /services/google-analytics-coaching
  • /services/google-analytics-implementation

In this case, there is a logical naming structure that allows you to easier group these pages in one Services Content Group or if you only want google analytics related services grouped you can do that too.

3. Content Grouping rule definition

The third option is ideal for novice users of Google Analytics who want to create these content groups by themselves. It is very similar to option two but more flexible to those who are not familiar with Regular Expressions. Content grouping by rule definition

If you want to work with “negative” matches this grouping method is the way to go. Once again you can do the grouping by page or page title (websites) or screen name (apps). In addition, you can use statements as contains, starts with, ends with, but also does not contain, does not start with etc.

The negative statements can be very useful in my experience. Sometimes you have defined all your content groups but a few pages are left. You can set up a match on does not contain your other pages and you are good to go.

This method is very flexible and can cover sites with a poor structure but may also need adjustments to page title consistency if needed.

Google Tag Manager

Google tag manager allows you automation but also extreme flexibility by giving you the option grouping data by page title, URL and additional data layer variables. First, you will need to create a new content grouping in your Google Analytics account as in step one.

  1. Open up your Google Tag Manager account
  2. Open up your existing universal page view tag
  3. Click on more settings
  4. Click on content groups
  5. Under index add one of the 5 groupings available to you when you created the content group in GA, so 1,2,3,4 or 5
  6. Under index select how you would like to define the grouping, it would be best to create a defined variable prior to this step
  7. To add another grouping click the add content group button below your first grouping
  8. When done click save and publish tag

Group therapy for your site

Now that you're ready to group your site's content, what kind of content groupings do you think you would find useful for your site? Let us know in the comments section below.

Contact us

If you want to know more about Google Analytics don’t be shy we’re happy to assist. Simply contact us here

Tags: Data Analysis, google analytics, google tag manager, SEO, User Experience

Previous: {{ previousBlog.sTitle }}

Posted {{ previousBlog.dtDatePosting }}

Next: {{ nextBlog.sTitle }}

Posted {{ nextBlog.dtDatePosting }}

You might also like

Improve engagement on facebook posts

10 Techniques To Increase Engagement on Facebook

20 June 2024

Posted by Ryta Musyenko in Industry Experts

Increase your Facebook engagement rate on your posts with our simple, easy-to-follow strategies and revive your brands presence on the biggest social...

Read more
Applying for a credit card in South Africa

How To Apply For A Credit Card In SA

17 June 2024

Posted by Che Kohler in Money Talks

A detailed break down of everything you need to know before you approach the banks to apply for a credit card in South Africa and how to use this fin...

Read more

Leave us a comment


{{comment.iDayLastEdit}} day ago

{{comment.iDayLastEdit}} days ago


Sign up for our newsletter