Basics of Custom Dimensions and Metrics in Google Analytics 4

Basics of Custom Dimensions and Metrics in Google Analytics 4
Estimated Reading Time: 4 minutes

When it comes to Google Analytics 4 (GA4), custom dimensions and metrics are like the spice in your favorite dish. They add that extra flavor and depth that takes your analytics game to the next level. But what are they exactly and why should you care?

First off, let’s define custom dimensions and metrics.

What are custom dimensions and metrics?

Custom dimensions are attributes of your website or app data that you can use to segment and analyze your users. For example, let’s say you have a website that sells shoes. A custom dimension could be the color of the shoe. 

By using a custom dimension, you can see how many users bought red shoes versus blue shoes. Custom metrics, on the other hand, are numerical values that you can use to measure specific aspects of your website or app. For example, a custom metric could be the number of times a user clicked on a certain button on your website.

Now that we have that out of the way, let’s talk about why custom dimensions and metrics are like the ultimate secret weapon in your GA4 arsenal.

Why should you use custom dimensions and metrics?

Let’s say you’re trying to figure out which of your blog posts are the most popular. With just the standard GA4 data, you might be able to see how many people viewed a certain post, but what if you want to know which post has the most comments? That’s where custom metrics come in. You can create a custom metric that tracks the number of comments on a post and you now have a new way of measuring the success of your blog.

Or let’s say you’re trying to figure out which of your products are the most popular:

Sure, you can see how many people viewed a product page, but what if you want to know which product has the highest conversion rate? 

That’s where custom dimensions come in. You can create a custom dimension that tracks the product category and voila, you now have a new way of measuring the success of your products.

But wait, there’s more! Custom dimensions and metrics can also be used to track things like user engagement, content performance, and even offline conversions. The possibilities are endless!

But here’s the thing: custom dimensions and metrics are like the wild card in a deck of cards. You can use them to your advantage if you know how to play them right. But if you don’t know what you’re doing, you’ll end up with a big mess. So, before you start creating custom dimensions and metrics left and right, make sure you have a plan in place.

How do you create custom dimensions and metrics?

And speaking of plans, let’s talk about how to actually create custom dimensions and metrics. It’s not as hard as you might think. In fact, it’s like playing with LEGOs. You just have to know which piece goes where.

First, you’ll need to go to the GA4 admin section and go to the custom definitions section. From there you select either custom dimensions or custom metrics.

Next, you can create a new dimension or metric and give it a name and scope.

The scope is like the rules of the game. It tells GA4 when and where to track the dimension or metric. There are three types of scopes: Event, User, and Item.

  1. Event scope: Tracks the dimension or metric with each hit (pageview, event, etc.)
  2. User scope: Tracks the dimension or metric for the whole user journey
  3. Item scope: Tracks the dimension or metric for a specific product (if you have an e-commerce website)

Once you’ve created your custom dimension or metric, you’ll need to add it to your Google Tag Manager Container, which we’ll cover in detail later.

Hope you’ve found this general guide helpful in understanding how custom dimensions and metrics add value to GA4.

Do you have questions about custom dimensions or metrics?

Our team of data analyst experts is here to help whenever you need us.
Facebook
Twitter
LinkedIn
Email
Originally Published: April 19, 2023
April 19, 2023

Other Articles You Will Enjoy

Creating or Modifying Events in Google Analytics 4 UI

Creating or Modifying Events in Google Analytics 4 UI

Google Analytics 4 (GA4) allows you to create or modify events within the GA4 UI at the property level. This feature can be found…

4-minute read
Overview of Data Import in Google Analytics 4

Overview of Data Import in Google Analytics 4

Google Analytics 4 (GA4), also known as GA4 App+Web, is the latest version of Google Analytics that offers a more advanced and comprehensive approach…

5-minute read
The Side Effects of Creating or Modifying Events in Google Analytics 4 UI

The Side Effects of Creating or Modifying Events in Google Analytics 4 UI

This article reviews things you should consider before creating or modifying events. Be sure to check out the best practices section at the end…

4-minute read
How Data Minimization Benefits CPG Organizations

How Data Minimization Benefits CPG Organizations

It seems almost paradoxical: you can spend less money maintaining your data collection framework, reduce your compliance risk, and improve the quality of your…

5-minute read
5 Best Practices for Configuring Data Streams in Google Analytics 4

5 Best Practices for Configuring Data Streams in Google Analytics 4

In the rapidly evolving digital landscape, understanding and effectively utilizing data has become crucial for businesses to thrive. Google Analytics 4 (GA4) offers a…

3-minute read
Moving from Universal Analytics Settings Variables to Google Analytics 4 Configuration Tags in Google Tag Manager: Overview and Benefits

Moving from Universal Analytics Settings Variables to Google Analytics 4 Configuration Tags in Google Tag Manager: Overview and Benefits

You are most likely familiar with the Universal Analytics (UA) settings variable. This lets you define your Google Analytics (GA) property and any parameters…

3-minute read
Understanding Facebook CAPI Integration with Google Analytics 4 Using Server-Side Google Tag Manager

Understanding Facebook CAPI Integration with Google Analytics 4 Using Server-Side Google Tag Manager

One of the most sought-out solutions happens to be how to use Facebook Conversions API with the server-side implementation in Google Analytics 4 (GA4)….

6-minute read
Boxing vs. Digital Analytics: A Comparison of Two Disciplines

Boxing vs. Digital Analytics: A Comparison of Two Disciplines

Boxing and digital analytics may seem like two very different activities, but they actually have a lot in common. Both require discipline, focus, and…

5-minute read
Google Analytics 4 User Pathways Overview

Google Analytics 4 User Pathways Overview

What are people doing? A question asked by many, for many different reasons, in various situations. As a digital professional (marketing, analyst, experience, etc.)…

6-minute read

Get Your Assessment

Thank you! We will be in touch with your results soon.
{{ field.placeholder }}
{{ option.name }}

Talk To Us

Talk To Us

Receive Book Updates

Fill out this form to receive email announcements about Crawl, Walk, Run: Advancing Analytics Maturity with Google Marketing Platform. This includes pre-sale dates, official publishing dates, and more.

Search InfoTrust

Leave Us A Review

Leave a review and let us know how we’re doing. Only actual clients, please.