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.

Author

  • Anirudh Kulkarni

    Anirudh Kulkarni is a Senior Digital Analytics Consultant with more than five years of experience in the space. Over his tenure, he has worked on delivering marketing analytics solutions for clients of varying industries spanning across (but not limited to) airlines, banking and insurance, OTT, hospitality, and retail. Anirudh has also worked on clients of different scales, from helping Fortune 500 clients with their measurement to setting solid foundations for startups. He enjoys learning new languages, chess, and traveling.

Facebook
Twitter
LinkedIn
Email
Originally Published: April 19, 2023

Subscribe To Our Newsletter

April 19, 2023

Other Articles You Will Enjoy

Is It Time to Upgrade? 4 Signs Your Organization Needs Google Analytics 4 360

Is It Time to Upgrade? 4 Signs Your Organization Needs Google Analytics 4 360

As VP of Partnerships at InfoTrust, I’ve had the opportunity to talk with hundreds of decision-makers about their interest in upgrading to Google Analytics…

4-minute read
Leveraging Attribution Models in Google Analytics 4 to Improve Your Marketing Strategy: Tips and Best Practices

Leveraging Attribution Models in Google Analytics 4 to Improve Your Marketing Strategy: Tips and Best Practices

In the dynamic landscape of digital marketing, understanding the customer journey is crucial for optimizing strategies and maximizing ROI. Google Analytics 4 (GA4) introduces…

5-minute read
Deploying Digital Analytics Changes at Scale for CPG and Multi-Brand Organizations

Deploying Digital Analytics Changes at Scale for CPG and Multi-Brand Organizations

The digital analytics industry is going through seismic shifts, and it is important for CPG organizations to stay abreast of the changes and stay…

5-minute read
Leveraging Custom Dimensions and Metrics in Google Analytics 4 for Content Performance Measurement: Best Practices and Real-World Examples

Leveraging Custom Dimensions and Metrics in Google Analytics 4 for Content Performance Measurement: Best Practices and Real-World Examples

In today’s digital landscape where content reigns supreme, understanding how your audience interacts with your content is paramount for success. For news and media…

5-minute read
Tracking User Behavior with Events in Google Analytics 4: Examples and Use Cases

Tracking User Behavior with Events in Google Analytics 4: Examples and Use Cases

So you’ve created your Google Analytics 4 (GA4) properties, created your data stream(s), and followed all the necessary steps to configure your property. Now…

5-minute read
How Data Maturity Can Cultivate a Data-Driven Culture

How Data Maturity Can Cultivate a Data-Driven Culture

Data-driven decisions are a buzz topic in Martech. It is essential for C-suite executives to understand and more importantly, use their data to move…

4-minute read
App Install Attribution in Google Analytics 4: What You Need to Know

App Install Attribution in Google Analytics 4: What You Need to Know

App install attribution in Google Analytics for Firebase (GA4) is a feature that helps you understand how users discover and install your app. It…

6-minute read
How to Integrate Google Analytics 4 with BigQuery for Enhanced Data Analysis and Reporting

How to Integrate Google Analytics 4 with BigQuery for Enhanced Data Analysis and Reporting

Has your business found that its reporting needs require advanced analysis of your analytics data beyond what is practical in the Google Analytics 4…

4-minute read
What Is Consent Mode in Google Analytics 4 and How Does It Work? | A Beginner’s Guide

What Is Consent Mode in Google Analytics 4 and How Does It Work? | A Beginner’s Guide

Consent Mode in Google Analytics 4 (GA4) is a helpful tool for website owners to respect user privacy preferences when it comes to tracking…

3-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.