Why am I seeing "(not set)" in my GA4 reports?

What "(not set)" means

"(not set)" is a value that comes directly from Google Analytics 4 (GA4), not from NinjaCat. When Google doesn't have a value for a particular dimension in a given row — for example, a traffic source or campaign name that GA4 couldn't determine, or a field Google no longer populates — GA4 returns the literal text "(not set)". NinjaCat reports exactly what the GA4 API sends, so that value passes through to your reports and widgets unchanged.

In short: "(not set)" is Google telling you it has no value for that dimension in those rows. It is not an error in NinjaCat, and NinjaCat is not adding or generating it.

Why it can appear even after a change on Google's side

If Google changes how a field is populated (for example, retiring or changing a source/platform value), GA4 may start returning "(not set)" for rows where it previously returned a value. Because NinjaCat passes the GA4 value through as-is, you'll see that change reflected in your reports. This is expected behavior and reflects the data GA4 is now returning.

How to exclude "(not set)" rows from a report or widget

If you'd prefer not to show "(not set)" rows, you can filter them out using a dimension filter on the widget. Add a filter on the relevant GA4 dimension using the does not equal operator and enter the value:

(not set)

Enter it exactly as shown, including the parentheses. NinjaCat removes the matching rows before showing your results, so the "(not set)" rows won't appear.

Things to know about GA4 dimension filters:

  • You can use does not equal or does not contain to exclude values.
  • On GA4 page dimensions (Page path, Page title, Page location, Page referrer and the full page URL), only one "does not…" (exclusion) filter is allowed per widget. If you add more than one, the widget will return an error.
  • Supported GA4 filter operators include: equals, contains, starts with, ends with, and REGEXP (for inclusion), and does not equal / does not contain (for exclusion).
  • Text filters are not case-sensitive: equals, does not equal, contains, does not contain, starts with and ends with ignore upper and lower case. For example, contains google matches "Google Ads". The exception is REGEXP: regex filters are case-sensitive unless you tick the i (ignore case) flag. See Template Builder REGEX (Regular Expressions).

Can I rename "(not set)" to something friendlier (like "Unknown")?

Yes, for many GA4 text dimensions, such as Session source, you can relabel "(not set)" for display while keeping those rows in the report. In the Template Builder, click the pencil icon on the dimension in the widget's Data settings, then under Find and Replace click Add Replacement.... Enter (not set) in Find and a label such as Unknown in Replace, and click Save. The rows and their numbers stay the same; only the label changes.

Find and Replace isn't available on every dimension. For example, it isn't offered on Country. You can also leave the value as-is (it accurately reflects what GA4 returned) or exclude those rows using the dimension filter described above.


Did this page help you?