Skip to main content

How to Create a Google Analytics Custom Dimension

·107 words·1 min·
Google Analytics Analytics Metrics Dimensions
Table of Contents

This article explains how to create GA custom dimensions

Intro
#

In order to add a custom dimension in Google Analytics follow this steps:

  1. Click admin and navigate to the property you which to add a custom dimension

Custom Dimension (step 1)

  1. Click new Custom Dimension

  2. Give it a Name and a Scope and you’l get the javascript to add on your website

Custom Dimension (step 2)

  1. After you should modify your tracking code adding for example
ga('send', 'pageview', {
  'dimension1':  'My Custom Dimension'
});

When we should use this
#

Let’s say your website does some sort of user classification, you can create a CustomDimension ex: UserCategory and send enrich the data you track.