Sub topic 7
High-cardinality dimensions
This chapter assumes you know the difference between a dimension and a metric, and that you have used GA4 Reports or Explorations. You will also benefit from knowing that a dimension contains descriptive values, while a metric contains a measurement such as users or event count.
What cardinality means
Cardinality is the number of distinct values in a dimension.
A dimension with low cardinality has a small, predictable set of values. Device category might contain desktop, mobile, and tablet. A report can usually display these values directly.
A high-cardinality dimension has many distinct values. Page location, search terms, campaign names, transaction IDs, and user-generated content can all produce thousands or millions of values.
High cardinality becomes more difficult when you combine dimensions. A report using page location, country, device category, and date can create many unique combinations, even when each dimension seems manageable by itself.
| Dimension | Example values | Typical cardinality |
|---|---|---|
| Device category | desktop, mobile, tablet | Low |
| Country | United States, Canada, Japan | Medium |
| Page location | Many URLs with paths and parameters | High |
| Transaction ID | A different value for most purchases | Very high |
How the `(other)` row appears
GA4 reports have practical limits on how many distinct dimension values they can return and process. When a report produces too many unique rows, GA4 may keep the most useful or frequent rows separately and combine less common rows into an (other) row.
The (other) row is an aggregation. It is not a missing page or an actual value sent with an event. It represents multiple dimension values that GA4 did not return individually in that report.
For example, suppose a page report contains these values:
/home/pricing/docs- Hundreds of uncommon documentation URLs
GA4 might show the first three pages and place the remaining URLs into (other). The total users in the report can still be useful, but the page-level breakdown is incomplete.
This process is different from thresholding. Thresholding withholds data to protect privacy. Cardinality aggregation combines rows because the result contains too many distinct values for the reporting surface.
Common causes and mistakes
URL dimensions are frequent sources of cardinality. Query parameters can make otherwise identical pages appear different:
/products/shoes/products/shoes?color=black/products/shoes?color=black&utm_source=email
A user-generated search term or content ID can create the same problem. Adding another detailed dimension can multiply the number of combinations.
A common mistake is to treat (other) as zero. It means “combined with other values,” not “no data.” Another mistake is to add every available dimension in one report and then assume that the resulting detail is complete.
Reduce cardinality in the report
Start with the question the report must answer. Then choose the least detailed dimension that still answers it.
Useful changes include:
- Use page path instead of full page location when query parameters are not needed.
- Group pages into content sections instead of listing every URL.
- Report on channel, source, or medium instead of campaign details when campaign-level detail is unnecessary.
- Remove secondary dimensions that create many combinations.
- Apply a focused filter before adding more dimensions.
- Use a shorter date range when the report combines values across a long period.
These changes improve readability and reduce the chance of an (other) row. They do not restore values that GA4 has already aggregated.
When you need every value
Use the BigQuery export when the analysis requires event-level detail, such as every URL, search term, or transaction ID. BigQuery stores exported events that you can query and group yourself. You still need to design the query carefully, but you can avoid relying on a user-interface row limit.
Use the GA4 report for quick summaries. Use a lower-cardinality dimension for routine monitoring. Use BigQuery for complete, repeatable detail.
Exercise
A page report shows /home and /pricing, followed by an (other) row. What does (other) mean, and name one change that could reduce it.
Show answer
It combines multiple page values that were not returned separately because the dimension had too many distinct values. Using page path instead of full page location, removing a secondary dimension, or grouping pages can reduce it.