{"id":101823,"date":"2025-02-21T16:49:02","date_gmt":"2025-02-21T16:49:02","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/how-to-unset-a-user-scoped-custom-dimension-in-google-analytics\/"},"modified":"2025-02-21T16:49:02","modified_gmt":"2025-02-21T16:49:02","slug":"how-to-unset-a-user-scoped-custom-dimension-in-google-analytics","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=101823","title":{"rendered":"How To Unset A User-scoped Custom Dimension In Google Analytics"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p><strong>Scope<\/strong> in <a href=\"https:\/\/analytics.google.com\/\">Google Analytics\u2019<\/a> Custom Dimensions refers to how the value in the Custom Dimension is extended to all hits in the same scope.<\/p>\n<p><strong>Hit<\/strong>&#8211; and <strong>product<\/strong>-scoped Custom Dimensions apply to the given hit alone &#8211; they are not extended to any other hits in the session or by the same user.<\/p>\n<p><strong>Session<\/strong>-scoped Custom Dimensions apply the <em>last<\/em> value sent during the session to <em>all<\/em> the hits in that session.<\/p>\n<p><strong>User<\/strong>-scoped Custom Dimensions apply the <em>last<\/em> value set during the session to <em>all<\/em> the hits in the session <strong>AND<\/strong> to all future hits by the same client until a new value is sent.<\/p>\n<p>Until now, I was under the impression that <strong>User<\/strong>-scoped Custom Dimensions could never be <em>unset<\/em>, because I thought it was not possible to send a \u201cnull\u201d or \u201cempty\u201d value to a Custom Dimension. The <strong>analytics.js<\/strong> library, used by GTM for web and on-page Universal Analytics, prevents null values from being sent with Custom Dimensions (but not <em>empty strings<\/em>), so this issue never manifested itself in my implementations.<\/p>\n<p>However, sending hits with <strong>Measurement Protocol<\/strong> or by using the <strong>legacy Google Tag Manager for iOS\/Android SDKs<\/strong> can have you run into this issue. Here\u2019s what it looks like in reports:<\/p>\n<div style=\"aspect-ratio: 3188 \/ 1588;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2018\/12\/user-scoped-custom-dimension-reset.jpg\" title=\"User-scoped Custom Dimension\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1588\" width=\"3188\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2018\/12\/user-scoped-custom-dimension-reset.jpg#ZgotmplZ\" alt=\"User-scoped Custom Dimension\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>I ran into this problem while looking at some erratic client data. For some reason, it looked like a user-scoped Custom Dimension that was set in one session was no longer available at a later session. In the image above, you can see what this looks like.<\/p>\n<p>The data is from one single user who had two successive sessions, some four hours apart. The first session, at 10:49, had two screen views, and you could query this data with the user-scoped Custom Dimension, returning the value <code>b<\/code>.<\/p>\n<p>Then, in the latter session with just one screen view, you could no longer query this user-scoped Custom Dimension.<\/p>\n<p>                <span class=\"simmer\"><br \/>\n  <span class=\"close\">X<\/span><\/p>\n<p>\n    <span class=\"fa fa-md fa-bell\"\/><br \/>\n    <strong>The Simmer Newsletter<\/strong>\n  <\/p>\n<p>\n    Subscribe to the <a href=\"https:\/\/www.simoahava.com\/newsletter\/\">Simmer newsletter<\/a> to get the latest news and content from Simo Ahava into your email inbox!\n  <\/p>\n<p>  <\/span><\/p>\n<h2 id=\"how-to-send-a-parameter-without-a-value\">How to send a parameter without a value<\/h2>\n<p>If you\u2019re using <strong>Measurement Protocol<\/strong>, you can easily reproduce this. All you have to do is copy an existing hit from your website, which includes a user-scoped Custom Dimension, and resend it by replacing the Custom Dimension value with nothing.<\/p>\n<p>Let\u2019s say the request originally had these parameters:<\/p>\n<p><code>&amp;cd5=page&amp;cd6=logged-in&amp;cd7=this-user-id&amp;cd8=hello<\/code><\/p>\n<p>Here, dimension <code>&amp;cd7<\/code> is user-scoped in Google Analytics, so if this were the last hit sent in the session, the user would have the value <code>this-user-id<\/code> until some other, valid value is sent to the Custom Dimension.<\/p>\n<p>However, if I now copy this hit request and replace the relevant part with this:<\/p>\n<p><code>&amp;cd5=page&amp;cd6=logged-in&amp;cd7&amp;cd8=hello<\/code><\/p>\n<p>You can see how I removed the value from the parameter, but <strong>I still include the parameter in the query string<\/strong> (you could also use <code>&amp;cd6=logged-in&amp;cd7=&amp;cd8=hello<\/code> and it will have the same result). Now, the value is sent to Google Analytics, and it essentially <strong>nulls<\/strong> the value from the GA reporting interface, meaning you no longer can query this user\u2019s user-scoped Custom Dimension.<\/p>\n<p>In BigQuery, this manifests as something like:<\/p>\n<div style=\"aspect-ratio: 880 \/ 467;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2018\/12\/bigquery-export.jpg\" title=\"BigQuery export\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"467\" width=\"880\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2018\/12\/bigquery-export.jpg#ZgotmplZ\" alt=\"BigQuery export\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>As you can see, there\u2019s a bunch of Custom Dimension indices with empty strings as their values. If any one of these corresponds with a user-scoped or session-scoped Custom Dimension, it would reset any previous value this field had.<\/p>\n<h2 id=\"where-the-problem-lies\">Where the problem lies<\/h2>\n<p>Naturally, most people will be using GTM and GA for the web, so this problem will never manifest.<\/p>\n<p>However, <a href=\"https:\/\/tagmanager.google.com\/\">Google Tag Manager\u2019s<\/a> legacy SDKs (<a href=\"https:\/\/developers.google.com\/tag-manager\/ios\/v3\/\">iOS<\/a> and <a href=\"https:\/\/developers.google.com\/tag-manager\/android\/v4\/\">Android<\/a>) have a quirky feature.<\/p>\n<p>If you\u2019ve defined a Data Layer variable in your Google Analytics tag, and that Data Layer key is not populated with a value when the tag fires, then the SDK will automatically send the parameter without a value, thus <strong>nulling any user- or session-scoped Custom Dimensions that receive these empty parameters<\/strong>.<\/p>\n<div style=\"aspect-ratio: 1336 \/ 100;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2018\/12\/ios-sdk-hit.jpg\" title=\"iOS SDK hit\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"100\" width=\"1336\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2018\/12\/ios-sdk-hit.jpg#ZgotmplZ\" alt=\"iOS SDK hit\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>Here you can see an example of what a request to GA looks like when using the normal Universal Analytics tag in the legacy iOS SDK. As you can see, there\u2019s a bunch of Custom Dimensions (circled in red) which do not have any value. These are dimensions that had no value in <code>TAGDataLayer<\/code> when the hit was dispatched.<\/p>\n<p>This issue is <strong>not<\/strong> present in the <a href=\"https:\/\/developers.google.com\/tag-manager\/ios\/v5\/\">latest GTM SDK (Firebase)<\/a>, which is a good thing, of course.<\/p>\n<p>Also, I didn\u2019t test if this problem is present if using the native Google Analytics SDK. I would imagine that <strong>it is<\/strong>, because the legacy GTM SDK uses the <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/ios\/v3\/sdk-download\">Google Analytics Services SDK<\/a> to dispatch the hits to GA.<\/p>\n<h2 id=\"what-this-means\">What this means<\/h2>\n<p>This has two implications.<\/p>\n<p><strong>First<\/strong>, if you\u2019re using the <strong>legacy Google Tag Manager SDKs<\/strong> and most likely the <strong>Google Analytics Service SDK<\/strong>, too, it\u2019s possible that any user-scoped or session-scoped Custom Dimensions will have corrupt data.<\/p>\n<p>It would be a fair assumption to make that <strong>if the key does not have a value in Data Layer, the key is not included in the hit<\/strong>, or that <strong>at the very least, a valueless parameter will NOT override a previously set value<\/strong>, but these assumptions are, based on my findings, <strong>wrong<\/strong>.<\/p>\n<p>Thus you\u2019ll need to rethink your approach in implementation, perhaps making sure that tags that should send user- and session-scoped Custom Dimensions do not fire unless the Data Layer variables resolve to proper values. This might mean creating new tags in your container.<\/p>\n<p><strong>Second<\/strong>, this can also be a <strong>good thing<\/strong>. There are times when resetting Custom Dimensions is necessary. For example, if you\u2019re using a user-scoped Custom Dimension to store <strong>experiment information from A\/B tests<\/strong>, you might want to reset these fields for users who have been in an earlier test but are no longer included in a currently running test. You know, just to keep the amount of noise down in your reports.<\/p>\n<p>To do this, you could write some code which checks if the user is included in a current experiment and if not, send the dimension without a value.<\/p>\n<p>You can do this easily in the web, too. Just set the dimension value to an empty string:<\/p>\n<div class=\"highlight\">\n<pre style=\"background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-javascript\" data-lang=\"javascript\">ga(<span style=\"color:#a50\">'tracker.set'<\/span>, <span style=\"color:#a50\">'dimension25'<\/span>, <span style=\"color:#a50\">''<\/span>);\n\n<span style=\"color:#aaa;font-style:italic\">\/\/ or\n<\/span><span style=\"color:#aaa;font-style:italic\"\/>\nga(<span style=\"color:#a50\">'send'<\/span>, <span style=\"color:#a50\">'event'<\/span>, <span style=\"color:#a50\">'resetDimension'<\/span>, <span style=\"color:#a50\">'reset'<\/span>, {dimension25: <span style=\"color:#a50\">''<\/span>});\n<\/code><\/pre>\n<\/div>\n<p>If you\u2019re using Google Tag Manager for web, it\u2019s a bit more difficult since you can\u2019t set empty fields. However, it\u2019s easy enough to just create a Custom JavaScript variable which returns an empty string:<\/p>\n<div style=\"aspect-ratio: 899 \/ 400;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2018\/12\/gtm-empty-string.jpg\" title=\"Empty string\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"400\" width=\"899\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2018\/12\/gtm-empty-string.jpg#ZgotmplZ\" alt=\"Empty string\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>The Custom JavaScript variable would look like this:<\/p>\n<div class=\"highlight\">\n<pre style=\"background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-javascript\" data-lang=\"javascript\"><span style=\"color:#00a\">function<\/span>() {\n  <span style=\"color:#00a\">return<\/span> <span style=\"color:#a50\">''<\/span>;\n}\n<\/code><\/pre>\n<\/div>\n<h2 id=\"final-thoughts\">Final thoughts<\/h2>\n<p>I think it\u2019s <strong>good<\/strong> that we have the option to reset a Custom Dimension value. And yes, I know it\u2019s not technically <em>resetting<\/em> the value, but more about exploiting a feature of the Google Analytics reporting interface which prevents you from querying Custom Dimensions with empty values.<\/p>\n<p>However, I think it\u2019s <strong>bad<\/strong> that the mobile SDKs (Firebase excluded) are doing this automatically. It\u2019s always confusing when Google Tag Manager for apps diverges from how it works on the web, and this is another example of it doing so. Instead of dropping the parameter from the requests if no valid value is found, as it does on the web, the parameter is sent with an empty value.<\/p>\n<p>I don\u2019t expect this to be fixed in the legacy containers, since they are expected to move out of the way of Firebase, and this is certainly yet another reason to upgrade your setup.<\/p>\n<p>You should probably look through your data for this phenomenon, especially if you\u2019re collecting app data using one of the legacy SDKs. If you have GA360 and access to the BigQuery exports, you can query for Custom Dimension fields that have an empty string as their value.<\/p>\n<div style=\"aspect-ratio: 705 \/ 334;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2018\/12\/ga-segment.jpg\" title=\"GA segment\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"334\" width=\"705\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2018\/12\/ga-segment.jpg#ZgotmplZ\" alt=\"GA segment\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>In the Google Analytics user interface, I originally found this problem by creating a segment where I include users that have a valid value for a user-scoped Custom Dimension but exclude sessions that don\u2019t have a valid value.<\/p>\n<p>This segment would thus include data from users with sessions that DO have a valid value and sessions that DON\u2019T have a valid value. After that, it\u2019s a question of using the User Explorer report and drilling down to individual user journeys to see if the valueless sessions came <strong>after<\/strong> those that had a valid value.<\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Scope in Google Analytics\u2019 Custom Dimensions refers to how the value in the Custom Dimension is extended to all hits in the same scope. Hit&#8211; and product-scoped Custom Dimensions apply to the given hit alone &#8211; they are not extended to any other hits in the session or by the same user. Session-scoped Custom Dimensions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":101824,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[12765,834,34452,1531,47218,47219],"dealstore":[],"offerexpiration":[],"class_list":["post-101823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-analytics","tag-custom","tag-dimension","tag-google","tag-unset","tag-userscoped"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=101823\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Scope in Google Analytics\u2019 Custom Dimensions refers to how the value in the Custom Dimension is extended to all hits in the same scope. Hit&#8211; and product-scoped Custom Dimensions apply to the given hit alone &#8211; they are not extended to any other hits in the session or by the same user. Session-scoped Custom Dimensions [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=101823\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-21T16:49:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=101823#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"How To Unset A User-scoped Custom Dimension In Google Analytics\",\"datePublished\":\"2025-02-21T16:49:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823\"},\"wordCount\":1373,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg\",\"keywords\":[\"Analytics\",\"Custom\",\"Dimension\",\"Google\",\"Unset\",\"Userscoped\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=101823#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=101823\",\"url\":\"https:\/\/fivemor.com\/?p=101823\",\"name\":\"How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg\",\"datePublished\":\"2025-02-21T16:49:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=101823#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=101823\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=101823#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg\",\"width\":2560,\"height\":1275},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=101823#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Unset A User-scoped Custom Dimension In Google Analytics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=101823","og_locale":"en_US","og_type":"article","og_title":"How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network","og_description":"Scope in Google Analytics\u2019 Custom Dimensions refers to how the value in the Custom Dimension is extended to all hits in the same scope. Hit&#8211; and product-scoped Custom Dimensions apply to the given hit alone &#8211; they are not extended to any other hits in the session or by the same user. Session-scoped Custom Dimensions [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=101823","og_site_name":"Som2ny Network","article_published_time":"2025-02-21T16:49:02+00:00","og_image":[{"width":2560,"height":1275,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=101823#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=101823"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"How To Unset A User-scoped Custom Dimension In Google Analytics","datePublished":"2025-02-21T16:49:02+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=101823"},"wordCount":1373,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=101823#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg","keywords":["Analytics","Custom","Dimension","Google","Unset","Userscoped"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=101823#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=101823","url":"https:\/\/fivemor.com\/?p=101823","name":"How To Unset A User-scoped Custom Dimension In Google Analytics - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=101823#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=101823#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg","datePublished":"2025-02-21T16:49:02+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=101823#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=101823"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=101823#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/user-scoped-custom-dimension-reset-scaled.jpg","width":2560,"height":1275},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=101823#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"How To Unset A User-scoped Custom Dimension In Google Analytics"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/101823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=101823"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/101823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/101824"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101823"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=101823"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=101823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}