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

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
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
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
Google Tag Best Practices for Google Analytics 4

Google Tag Best Practices for Google Analytics 4

After collaborating with several of my colleagues at InfoTrust including Bryan Lamb, Head of Capabilities, Corey Chapman, Senior Tag Management Engineer, Chinonso Emma-Ebere, Tech…

4-minute read
Predictive Analytics in Google Analytics 4: How to Use Machine Learning to Forecast User Behavior and Outcomes

Predictive Analytics in Google Analytics 4: How to Use Machine Learning to Forecast User Behavior and Outcomes

Google Analytics 4 (GA4) is embracing the power of machine learning by incorporating predictive analytics within the platform so that you can use your…

7-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
How Does BigQuery Data Import for Google Analytics 4 Differ from Universal Analytics?

How Does BigQuery Data Import for Google Analytics 4 Differ from Universal Analytics?

All Google Analytics 4 (GA4) property owners can now enable ‌data export to BigQuery and start to utilize the raw event data collected on…

2-minute read
How to Track User Engagement and Behavior on Your Website Using Google Analytics 4 Custom Metrics

How to Track User Engagement and Behavior on Your Website Using Google Analytics 4 Custom Metrics

Understanding how users engage with your website is crucial for improving user experience and achieving your business goals. Google Analytics 4 (GA4) offers a…

5-minute read
Advanced Analysis Techniques in Google Analytics 4: How to Use AI-Powered Insights and Predictive Analytics for Effective Marketing

Advanced Analysis Techniques in Google Analytics 4: How to Use AI-Powered Insights and Predictive Analytics for Effective Marketing

AI-powered insights and predictive analytics are revolutionary tools reshaping the modern marketing landscape. These advanced analytics techniques, particularly prominent in Google Analytics 4 (GA4),…

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