Sub topic 2
Dimensions and metrics: the building blocks
Assume you can access a GA4 property, understand basic website events, and read a pivot table. In a Free-form exploration, dimensions describe the categories you want to compare. Metrics measure the results for those categories.
Start with GA4’s event model
GA4 stores activity as events. An event is a record of something that happened, such as page_view, purchase, or sign_up. Events can include parameters, which are details about the event. A page_view event might include the page title, page location, and device category.
GA4 builds many report fields from these events. You select those fields in Explore rather than querying raw events directly.
Dimensions describe categories
A dimension is an attribute used to group or label data. Examples include:
Page titleSession default channel groupDevice categoryCountryEvent name
If you add Device category to Rows, the table can show separate rows for desktop, mobile, and tablet users. If you add Session default channel group, it can group traffic as Organic Search, Direct, Email, or other channel groups.
A dimension is not automatically tied to one kind of activity. Event name describes individual events, while Session default channel group describes how a session began. This difference affects which metrics make sense beside the dimension.
Metrics measure results
A metric is a numeric measurement calculated from GA4 data. Examples include:
Event count: the number of recorded eventsSessions: the number of sessionsEngaged sessions: sessions that met GA4’s engagement criteriaTotal users: the number of unique users represented in the resultPurchase revenue: recorded revenue from purchases
Metrics usually appear in Values. For example, a table with Device category in Rows and Sessions in Values answers, “How many sessions came from each device category?”
| Field | Type | Example use |
|---|---|---|
| Device category | Dimension | Group results by mobile, desktop, or tablet |
| Sessions | Metric | Count sessions for each group |
| Event name | Dimension | Compare activity such as page views and purchases |
| Event count | Metric | Count occurrences of each event |
Check scope and compatibility
Scope is the level at which GA4 associates a field. Event-scoped fields describe one event. Session-scoped fields describe a visit. User-scoped fields describe a person or device over the reporting period.
For example, Event name is event-scoped, while Sessions is session-scoped. GA4 can often show them together, but the result may not mean that every event represents a separate session. A session metric can be repeated or attributed across rows according to GA4’s reporting rules.
Some dimensions and metrics cannot be combined. Explore may prevent you from importing incompatible fields, or it may show an error after you add them. Check scope before designing the table. Choose fields that answer the same business question and interpret mixed-scope results carefully.
A practical selection pattern
Start with the question, then choose:
- A dimension for the comparison.
- One or more metrics for the measurement.
- A date range and, when needed, a filter or segment.
For example, to assess channel performance by device, use Session default channel group and Device category as dimensions. Add Sessions, Engaged sessions, and Total users as metrics. The next chapters show how to place these fields in an exploration.
Exercise
Which field should you use to group a table by mobile, desktop, and tablet, and which metric could count visits for each group?
Show answer
Use the Device category dimension and the Sessions metric.