Skip to content

Conversion

Custom dimension

A custom dimension is an attribute you define and send with your own data, such as a pricing plan, an article's author or a button's position, so reports can be broken down by it. It adds the context about your business that an analytics tool cannot collect by itself.

Also called custom dimensions, custom property, event property, event parameter, custom definition Updated

How is it calculated?

A dimension is a label you group by, unlike a metric, which you count or sum. You send the value with an event or a user, then the report groups those events by each value and counts them.

In Google Analytics 4 the term has a specific meaning. Per Google’s help page About custom dimensions and metrics, you send an event parameter or user property, then register it as a custom dimension with a scope: event-scoped for parameters, user-scoped for user properties, or item-scoped for items in ecommerce events. A standard property allows 50 event-scoped, 25 user-scoped and 10 item-scoped custom dimensions, and Google says you can start reporting on a new one 24 to 48 hours after you create it.

Example

  • 12,000 events
  • 5,400 with author Ana
  • 45% of views
  • 1.25% for the blog overall

A blog sends a post view event with an author property. In a month there are 12,000 events: 5,400 with author Ana, 4,200 with Ben and 2,400 with Chen. Grouped by author, Ana’s posts get 45% of views. If 90 of the month’s 150 newsletter signups came from Ana’s readers, her posts convert at 90 ÷ 5,400, about 1.7%, against 150 ÷ 12,000, 1.25%, for the blog overall.

Common mistakes

  • Putting the variable part in the event name. signup_pro and signup_team are two events. One signup event with a plan property can be grouped and compared.
  • Sending values with high cardinality, such as timestamps or order ids, as a dimension. Every value becomes its own row and the breakdown is unreadable.
  • Sending personal data, such as an email address, as a value. Use a user id you control instead.
  • Expecting GA4 to report a parameter as soon as you send it. You register it as a custom dimension first, then wait for it to appear, so register before a launch, not after.

How CrispStats shows it

CrispStats has no separate step to register dimensions. Every property you send with a custom event, from crispstats() or a data-cs-prop-* attribute, is broken down on the Events screen with each value’s count and share. An event keeps up to 40 properties, keys up to 60 characters and string values up to 500 characters. Traits you pass to identify are stored on the visitor’s profile and follow the same limits.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.