Skip to content

How do you fix “(not set)” in Google Analytics?

Learn what (not set) means in GA4, why it appears in landing page and source reports, and how to fix the tagging gaps behind it, step by step.

"(not set)" is the placeholder GA4 shows when a dimension received no value at all. Fixing it means tracing each instance back to the configuration gap that left the dimension empty, correcting that gap, and confirming the new value in DebugView before trusting the report again.

Most guides treat "not set on google analytics" as noise to filter out. That habit hides broken tagging. Google's own (not set) article frames it as a value you can usually act on, and every cause it lists is a setting, a tag or a missing event. The reports that justify a content budget depend on landing page and source data, which makes this worth fixing.

What (not set) means in Google Analytics 4

GA4 writes "(not set)" when no value arrived for a dimension. Sending an empty value produces a blank row, while sending no value produces "(not set)". Use this distinction to check whether the parameter fired empty or never fired.

The cause depends on the scope of the dimension:

  • Event scope: A parameter is missing from the specific event you are reporting on. Content group, item name and custom event parameters fall here.
  • Session scope: The session lacks the event GA4 reads the value from. Session source/medium needs session_start, and Landing page needs a page_view.
  • User scope: A user property or User-ID was never set, was set late, or was registered under the wrong name.

Google lists setting or tag misconfigurations as the common cause, and it usually does not revise the daily value later. A "(not set)" row is almost always a configuration gap, and it stays in the historical data once it is there.

How (not set) differs from (unassigned), (data not available) and (other)

GA4 has four placeholder values that look alike in a report but come from different stages of processing, so each points to a different response:

ValueWhat triggers itWhere it appearsAct on it?
(not set)No value was sent for the dimensionAny dimensionYes, fix tags or settings
(data not available)Value received but not yet processed, with a GCLID or UTM presentSource and mediumUsually no, it updates for event-level data
UnassignedNo channel rule matches, often because source/medium is (not set)Default channel groupYes, fix the underlying source/medium
(other)Dimension values exceed the guidance of about 500 values per dimension (guidance, not a hard limit), so rare values are groupedReports, explorations, Data APIReduce cardinality or use explorations

Unassigned traffic is often "(not set)" one layer up. Fix source/medium first and much of the Unassigned row goes with it.

What you need before you start

You need edit rights in every tool where a cause can sit, because a single "(not set)" row can trace back to GA4, Tag Manager, Google Ads or the consent banner:

  • GA4 Editor role: Editor or above at the property level lets you create custom dimensions, edit data streams and link Google Ads.
  • GTM Publish permission: The Edit and Approve levels let you change a workspace, but only Publish pushes the fix live.
  • Google Ads administrative access: The Google account completing the link needs administrative access to the Ads account or manager account.
  • Consent tool access: You need access to the consent management platform or the consent mode code to change default and update commands.

How to fix (not set) in GA4 step by step

Find the report showing "(not set)", match it to its cause, fix the configuration, then verify in DebugView. Technical checks come first because every later fix depends on knowing which dimension is empty and in which scope.

Step 1. Find the report and dimension showing (not set)

Start by naming the exact dimension, because each one fails for a different reason. Use this table to match it to a likely cause and a first move:

Dimension showing (not set)Likely causeWhere to start
Session source / mediumMissing session_start, untagged links, consent misfireGoogle tag trigger and UTM tags
Landing pageSession has no page_viewsend_page_view, SPA routing, session timeout
Page titlepage_view sent without page_titlePage template and tag config
Custom dimensionNot registered, name mismatch, or parameter absent on that eventAdmin custom definitions, GTM parameter names
User propertySet after events fired, or never setgtag('set') timing, user property registration
Google Ads campaignUnlinked Ads account or auto-tagging offAds link and auto-tagging setting

Add a secondary dimension such as Event name to a custom dimension report before you change anything. A custom parameter sent only with form_submission shows "(not set)" on page_view and session_start rows. That is expected behavior, so leave it alone.

Source and campaign gaps come from links GA4 cannot read. When a UTM parameter is present and no click ID applies, GA4 derives every traffic source value from the UTMs, so a link carrying only utm_source leaves campaign as "(not set)".

  • Tag every link you control with source, medium and campaign, in lowercase. GA4 is case sensitive, and Social will not match the Paid Social rule.
  • For Google Ads, turn on auto-tagging under Account settings and check that each Ads account is linked to the property. Linked Ads data appears within 48 hours. New campaign-level data from an unlinked account shows as "(not set)".
  • If your website redirects, the GCLID has to survive to the final landing page. Test it by clicking an ad and checking whether gclid is still in the address bar after the page loads.
  • Merchant Center adds a different parameter. Its auto-tagging appends srsltid to product clicks from Google, and GA4 classifies that traffic as Organic Shopping. Sessions carrying srsltid can still show "(not set)" when the referrer isn't google.com and the result index inside the parameter is missing.

Then there is the event behind most session-level gaps. Session source/medium reports "(not set)" whenever session_start is missing, and the usual reason is a Google tag that does not fire on the Initialization trigger.

A missing page_view does the same to Landing page. That happens when send_page_view is set to false, when a single-page app never sends the first page view, or when a tab left open past the session timeout starts a new session with only an engagement event.

Step 3. Check how GTM attaches event parameters

Tag Manager has three places to put a parameter, and placing a parameter in the wrong one is a common cause of "(not set)" on custom dimensions:

  • Google tag configuration settings: These hold load-time, mostly static settings such as server_container_url or a cookie prefix. Custom event data does not belong here.
  • Event Settings variable: A Google Tag: Event Settings variable holds parameters you want on many events. Attaching it to the Google tag covers events that tag sends. For GA4 Event tags, you have to attach it to each tag individually.
  • GA4 Event tag parameters: These apply only to the tag you add them to. A value set here overrides the same parameter from an attached settings variable.

Several misplacements show up repeatedly. People build the Event Settings variable and never attach it to the event tags. Parameter names differ in case, so menu_Item_url in GTM never matches menu_item_url in GA4. And user_id gets added as an event parameter, when Google says it belongs only in configuration or settings.

In Tag Assistant, click the GA4 hit and open its parameter list. Every parameter your report expects should be there with a non-empty value. If a GTM variable returns undefined, GA4 drops the parameter, and the report shows "(not set)".

Step 4. Fix tag timing and data layer gaps

Once the parameters sit in the right tags, the next question is whether the data exists when those tags fire. Google's data layer guide explains that each dataLayer.push() is queued, so a value pushed now isn't guaranteed to be readable by the next event.

Include an event key in each push and fire the tag on a Custom Event trigger that listens for that name. Values needed at container load go in a push above the GTM snippet. Never reassign window.dataLayer, because that wipes values already in it.

Ecommerce shows the timing problem most clearly.

  • Push { ecommerce: null } before each ecommerce event so stale items don't carry over.
  • Then push add_to_cart or purchase with an items array in which every item has item_id or item_name, ideally both.
  • For purchase, send a unique transaction_id, a numeric value and a three-letter currency. If you miss a required parameter, GA4 treats the event as a custom event and leaves it out of the ecommerce reports.

Item and event dimensions don't carry forward between events. If view_item sends item_name and purchase sends only item_id, purchase reports show "(not set)" for item name.

Send the same item fields at every step of the funnel. Fire the purchase tag on the custom event pushed with the order data, never on DOM Ready ahead of the push.

Step 5. Register custom dimensions and user properties with the right scope

GA4 collects a custom parameter but won't report on it until you register it. In Admin, open Data display, then Custom definitions, then Create custom dimension.

  • Choose Event scope for parameters tied to an action and User scope for user properties. Enter the parameter name exactly as the code sends it. You can't change the scope or the parameter after saving, so check both before you click Save.
  • "(not set)" may appear during the first 24 hours after registration, with values usable in reports after 24 to 48 hours. Registration does not backfill. Data collected before the dimension existed stays empty for that dimension, so record the registration date wherever the team reads these reports.
  • User-ID needs its own handling. Call gtag('set', 'user_id', ...) as soon as the ID is known, before the events you want tied to it fire. On logout, set it to null, never an empty string or a placeholder.
  • Don't register User-ID as a custom dimension. That creates a high-cardinality dimension that can push rows into "(other)", and the built-in User-ID feature already handles deduplication.

After tags and dimensions are fixed, look at what happens before the visitor consents. In basic consent mode, Google tags don't load until the user interacts with the banner, and nothing is sent before then. Advanced mode loads tags with denied defaults and sends cookieless pings, which GA4 uses for behavioral modeling once traffic is large enough.

Google names two consent errors that produce "(not set)":

  1. Using the default command to record the user's later choice. The update command is the correct one. With default, the user_engagement event never sends and the initial event carrying session_start is lost.
  2. Sending events with denied consent after the user granted it. GA4 treats those events as a separate session with no session_start.

Timing matters too. If consent delays collection until the second page, GA4 can lose the original referrer and UTMs and report Direct traffic. Landing page shows "(not set)" when the session contains no page_view. Fire the Google tag and page_view on the first page as soon as consent is granted.

Browsers add loss you can't configure away. Safari's tracking prevention caps cookies set in JavaScript at 24 hours when it detects link decoration, and deletes them after 7 days without user interaction. Ad blockers can stop the GA script entirely.

Step 7. Close cross-domain and referral gaps

Session sources also break when a visitor crosses domains you own or passes through someone else's. For your own domains, add each one under the data stream's Configure your domains setting. Then check that the destination URL carries the _gl linker parameter after the click. If a redirect strips _gl, configure the website to preserve it. Subdomains of one main domain share cookies and don't need this setup.

For payment gateways, use List unwanted referrals under Configure tag settings, and GA4 then appends ignore_referrer=true to events that match, so a buyer returning from PayPal or Stripe keeps the original source instead of starting a referral session. The list takes up to 50 conditions per data stream, evaluated with OR logic, and Stripe's own documentation tells merchants to add checkout.stripe.com. Tag the success and cancel pages too, so the return visit is recorded at all.

Step 8. Verify the fix in DebugView, Tag Assistant and GTM Preview

Fixes only count once you see the corrected values arrive. Open GTM Preview, which launches Tag Assistant and adds a _dbg parameter so the session appears in DebugView. Reproduce the journey that produced "(not set)": the UTM-tagged landing, the consent click, the add to cart, the purchase. Then check each event's Parameters tab for the values that were missing.

Google's troubleshooting guide says standard reports need 24 to 48 hours for full data processing and reporting. For gtag.js, add debug_mode: true to test, and remove the field to turn it off, because setting it to false doesn't. DebugView also hides events from users who denied analytics cookies, so test with consent granted.

Troubleshooting (not set) values that persist

When a dimension still reads "(not set)" after the steps above, check the collection limits next.

  • A standard property accepts 25 parameters per event.
  • Parameter names cap at 40 characters and most parameter values at 100, with page_title at 300, page_referrer at 420 and page_location at 1,000.
  • User property values cap at 36 characters.

An event carrying a 26th parameter, or a value that runs past its cap, can lose exactly the data your report needs.

High cardinality looks like a different problem but often appears alongside it. Google treats a dimension with more than 500 unique values in a day as high cardinality.

Once a table exceeds its row limit, GA4 groups the rarest values into "(other)", and secondary dimensions, filters and comparisons make that more likely. Use standard reports where possible, keep session IDs and timestamps out of custom dimensions, and analyze one-off detail in BigQuery.

Then check the calendar. "(data not available)" resolves as processing finishes, but "(not set)" usually does not.

Rows recorded before a fix, or before a dimension was registered, will keep showing "(not set)". Compare periods only from the date the fix went live, and note that date in any dashboard that leadership reads.

Keep (not set) out of the reports that fund your content

Marketing leaders defend content budgets with landing page and channel reports, and those are exactly the dimensions that fail when session_start or page_view goes missing. A blog post that drives organic sessions but shows up as "(not set)" landing page traffic never gets credit for that work. Google added an AI Assistant channel to the default channel group in May 2026, which only helps if the session source arrives intact. Clean source and landing page data is how a team shows which pages earn attention from search and from AI answers.

Use clean dimensions to decide where to spend next week. GrowthX reads page-level traffic signals into Portfolio performance bands, from Freefall to Surging, so a team can see which pages are declining before the quarterly review. Those bands are only as accurate as the analytics underneath them, so fix your tagging first, then book a demo.

Related articles

  1. Reading event count in GA4 and what it actually measures Learn · 26 November 2026
  2. Engaged sessions in GA4: the three criteria and how to read them Learn · 24 November 2026
  3. How do you calculate SEO ROI? Learn · 24 November 2026
  4. How a session works in Google Analytics and how GA4 counts it Learn · 24 November 2026
  5. How do you track citations from Google AI Overviews? Learn · 20 November 2026
  6. Using metrics reporting to keep marketing campaigns on track Learn · 20 November 2026
  7. Share of voice in marketing: A study guide to calculating and using it Learn · 5 November 2026
  8. What KPIs Should You Track for Generative Engine Optimization? Learn · 16 September 2026