{"id":145143,"date":"2025-03-20T06:18:15","date_gmt":"2025-03-20T06:18:15","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/cross-domain-tracking-across-subdomains-simo-ahavas-blog\/"},"modified":"2025-03-20T06:18:15","modified_gmt":"2025-03-20T06:18:15","slug":"cross-domain-tracking-across-subdomains-simo-ahavas-blog","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=145143","title":{"rendered":"Cross-domain Tracking Across Subdomains | Simo Ahava&#8217;s blog"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>Wait. What? Why write an article about something that should work by default in <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/cross-domain\">Universal Analytics<\/a>? I mean, here\u2019s a screenshot from the guide I just linked to in the previous sentence:<\/p>\n<div style=\"aspect-ratio: 1754 \/ 274;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2015\/07\/developer-guide.jpg\" title=\"Developer Guide for Cross-domain tracking\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"274\" width=\"1754\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2015\/07\/developer-guide.jpg#ZgotmplZ\" alt=\"Developer Guide for Cross-domain tracking\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>There it is. Clear as day: \u201cTracking users across subdomains does not require any additional configuration.\u201d Also, some of the recent, <strong>excellent<\/strong> guides to cross-domain tracking, written by <a href=\"https:\/\/www.e-nor.com\/blog\/google-analytics\/cross-domain-and-roll-up-reporting\">E-Nor<\/a> and <a href=\"https:\/\/www.bounteous.com\/insights\/2015\/06\/16\/cross-domain-tracking-with-google-tag-manager\/\">Bounteous<\/a> enforce the same: you just need a default Universal Analytics Tag in <a href=\"https:\/\/tagmanager.google.com\">Google Tag Manager<\/a>.<\/p>\n<p>Well, unfortunately, that\u2019s not true. You do need a configuration setting, but it\u2019s thankfully very simple.<\/p>\n<p><strong>TL;DR:<\/strong> In the <strong>Fields to Set<\/strong> of your Universal Analytics (Page View) Tag, add the following setting:<\/p>\n<div style=\"aspect-ratio: 1616 \/ 536;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2015\/07\/cookiedomain-auto.jpg\" title=\"set cookieDomain auto for subdomain tracking\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"536\" width=\"1616\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2015\/07\/cookiedomain-auto.jpg#ZgotmplZ\" alt=\"set cookieDomain auto for subdomain tracking\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>But since you\u2019re awesome, you didn\u2019t come here for the dirty truth, you want to know <em>why<\/em> this is necessary. So read on!<\/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-universal-analytics-writes-cookies\">How Universal Analytics writes cookies<\/h2>\n<p>To track the same user and session across any two pages, these pages require the following:<\/p>\n<ol>\n<li>\n<p>A tracker object that tracks to the same Google Analytics Property ID (UA-XXXXXX-Y)<\/p>\n<\/li>\n<li>\n<p>A <code>_ga<\/code> cookie that has the same Client ID<\/p>\n<\/li>\n<\/ol>\n<div style=\"aspect-ratio: 1254 \/ 168;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2015\/07\/ga-cookie.jpg\" title=\"_ga cookie\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"168\" width=\"1254\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2015\/07\/ga-cookie.jpg#ZgotmplZ\" alt=\"_ga cookie\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>Client ID is what is used to stitch the hits in the session together, and also to stitch sessions the same user has had into a common level of aggregation (the GA concept of a <em>user<\/em>).<\/p>\n<p>Now, if you <strong>don\u2019t<\/strong> have any customizations in your Universal Analytics Tag, here\u2019s the logic with which cookies are written:<\/p>\n<ol>\n<li>\n<p>If the hostname of the page (http:\/\/this is the hostname\/home\/) starts with <strong>www.<\/strong>, the \u201cwww\u201d is stripped, and the cookie is written on what remains. So, in the case of <strong><a href=\"https:\/\/www.simoahava.com\">www.simoahava.com<\/a><\/strong>, the cookie is written on <strong>.simoahava.com<\/strong>.<\/p>\n<\/li>\n<li>\n<p>On all other hostnames, the cookie is written on the hostname itself, prefixed with a period. So, <strong>test.simoahava.com<\/strong> would retrieve a <code>_ga<\/code> cookie written on <strong>.test.simoahava.com<\/strong><\/p>\n<\/li>\n<\/ol>\n<p>If prefixed with a period, like the <code>_ga<\/code> cookie is, the cookie can be used on all hostnames that <strong>contain this string<\/strong>. So the <em>.simoahava.com<\/em> cookie can be used by <strong>test.simoahava.com<\/strong>, <strong><a href=\"https:\/\/www.simoahava.com\">www.simoahava.com<\/a><\/strong>, <strong>simoahava.com<\/strong>, and <strong>immortal.genius.simoahava.com<\/strong>, for example.<\/p>\n<p>The <em>.test.simoahava.com<\/em> cookie, on the other hand, can be used by <strong><a href=\"http:\/\/www.test.simoahava.com\">www.test.simoahava.com<\/a><\/strong>, but not by <strong><a href=\"https:\/\/www.simoahava.com\">www.simoahava.com<\/a><\/strong>, as the latter does not contain the string \u201ctest.simoahava.com\u201d.<\/p>\n<p>Can you see where I\u2019m going with this?<\/p>\n<p><strong>If<\/strong> traffic is from <a href=\"https:\/\/www.simoahava.com\">www.simoahava.com<\/a> to test.simoahava.com, the <code>_ga<\/code> cookie is shared, and all is well. Right?<\/p>\n<p>However, <strong>if<\/strong> the visitor first visits test.simoahava.com, and <em>then<\/em> moves to <a href=\"https:\/\/www.simoahava.com\">www.simoahava.com<\/a>, these two domains will have <strong>different<\/strong> <code>_ga<\/code> cookies, and thus different Client IDs, and thus the user will be a different user with a new session!<\/p>\n<p>So clearly, in many, many cases, this will lead to problems. We need to somehow ensure that the <code>_ga<\/code> cookie is <strong>always<\/strong> written on <strong>.simoahava.com<\/strong>, so that it can be used by all subdomains, regardless of if they have \u201cwww.\u201d or something else as a prefix.<\/p>\n<h2 id=\"cookiedomain--auto\">cookieDomain : auto<\/h2>\n<p>The answer is in the <strong>cookieDomain<\/strong> setting. When you set cookieDomain to <strong>auto<\/strong>, the following will happen with a (fictional) domain like <em><a href=\"http:\/\/www.simoahava.co.uk\">www.simoahava.co.uk<\/a><\/em>:<\/p>\n<ol>\n<li>\n<p>GA tries to write the cookie on <strong>.co.uk<\/strong>, which is the first possible root domain candidate. This fails because the browser is not authorized to write a cookie on a top-level domain like that.<\/p>\n<\/li>\n<li>\n<p>Next, GA tries to write the cookie on <strong>.simoahava.co.uk<\/strong>, which is the next possible root domain candidate. This works because that\u2019s a valid domain to write the cookie on.<\/p>\n<\/li>\n<\/ol>\n<p>So there\u2019s a recursive algorithm, which tries to write the cookie, starting from the most generic domain-level (the top-level domain), and stopping once it succeeds. What should be left is the <em>root domain<\/em>, and thus the cookie will be available to all subdomains.<\/p>\n<p>Yay!<\/p>\n<h2 id=\"the-new-and-improved-recommendation\">The new and improved recommendation<\/h2>\n<p>Here\u2019s the improved recommendation for <strong>cross-domain tracking across subdomains<\/strong>:<\/p>\n<p><strong>Always<\/strong> default to having <strong>cookieDomain : auto<\/strong> in your tracker settings. In GTM, I\u2019ve shown an example in the beginning of the post.<\/p>\n<p>In the Universal Analytics tracking code, the snippet 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-html\" data-lang=\"html\">script&gt;\n  (<span style=\"color:#00a\">function<\/span>(i,s,o,g,r,a,m){i[<span style=\"color:#a50\">'GoogleAnalyticsObject'<\/span>]=r;i[r]=i[r]||<span style=\"color:#00a\">function<\/span>(){\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=<span style=\"color:#099\">1<\/span>*<span style=\"color:#00a\">new<\/span> <span style=\"color:#0aa\">Date<\/span>();a=s.createElement(o),\n  m=s.getElementsByTagName(o)[<span style=\"color:#099\">0<\/span>];a.async=<span style=\"color:#099\">1<\/span>;a.src=g;m.parentNode.insertBefore(a,m)\n  })(<span style=\"color:#0aa\">window<\/span>,<span style=\"color:#0aa\">document<\/span>,<span style=\"color:#a50\">'script'<\/span>,<span style=\"color:#a50\">'\/\/www.google-analytics.com\/analytics.js'<\/span>,<span style=\"color:#a50\">'ga'<\/span>);\n\n  ga(<span style=\"color:#a50\">'create'<\/span>, <span style=\"color:#a50\">'UA-40669554-1'<\/span>, <span style=\"color:#a50\">'auto'<\/span>);\n  ga(<span style=\"color:#a50\">'send'<\/span>, <span style=\"color:#a50\">'pageview'<\/span>);\n<span style=\"color:#1e90ff;font-weight:bold\">script<\/span>&gt;<\/code><\/pre>\n<\/div>\n<p>This is, actually, what the Google Analytics Tracking Code, if copy-pasted from the Property settings, offers by default, so all is well if you use this.<\/p>\n<p>Personally, I think the setting should <strong>always<\/strong> default to \u201cauto\u201d unless explicitly changed to some other value.<\/p>\n<p>Here\u2019s <a href=\"https:\/\/plus.google.com\/+SimoAhava\/posts\/SRyGbcaK4hF\">a thread in Google+<\/a> which inspired me to write this post.<\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Wait. What? Why write an article about something that should work by default in Universal Analytics? I mean, here\u2019s a screenshot from the guide I just linked to in the previous sentence: There it is. Clear as day: \u201cTracking users across subdomains does not require any additional configuration.\u201d Also, some of the recent, excellent guides [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":145145,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[27402,3767,35252,27401,61273,1706],"dealstore":[],"offerexpiration":[],"class_list":["post-145143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-ahavas","tag-blog","tag-crossdomain","tag-simo","tag-subdomains","tag-tracking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cross-domain Tracking Across Subdomains | Simo Ahava&#039;s blog - 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=145143\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cross-domain Tracking Across Subdomains | Simo Ahava&#039;s blog - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Wait. What? Why write an article about something that should work by default in Universal Analytics? I mean, here\u2019s a screenshot from the guide I just linked to in the previous sentence: There it is. Clear as day: \u201cTracking users across subdomains does not require any additional configuration.\u201d Also, some of the recent, excellent guides [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=145143\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-20T06:18:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1754\" \/>\n\t<meta property=\"og:image:height\" content=\"274\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=145143#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"Cross-domain Tracking Across Subdomains | Simo Ahava&#8217;s blog\",\"datePublished\":\"2025-03-20T06:18:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143\"},\"wordCount\":785,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg\",\"keywords\":[\"Ahavas\",\"Blog\",\"Crossdomain\",\"Simo\",\"Subdomains\",\"Tracking\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=145143#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=145143\",\"url\":\"https:\/\/fivemor.com\/?p=145143\",\"name\":\"Cross-domain Tracking Across Subdomains | Simo Ahava's blog - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg\",\"datePublished\":\"2025-03-20T06:18:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=145143#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=145143\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=145143#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg\",\"width\":1754,\"height\":274},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=145143#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cross-domain Tracking Across Subdomains | Simo Ahava&#8217;s blog\"}]},{\"@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":"Cross-domain Tracking Across Subdomains | Simo Ahava's blog - 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=145143","og_locale":"en_US","og_type":"article","og_title":"Cross-domain Tracking Across Subdomains | Simo Ahava's blog - Som2ny Network","og_description":"Wait. What? Why write an article about something that should work by default in Universal Analytics? I mean, here\u2019s a screenshot from the guide I just linked to in the previous sentence: There it is. Clear as day: \u201cTracking users across subdomains does not require any additional configuration.\u201d Also, some of the recent, excellent guides [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=145143","og_site_name":"Som2ny Network","article_published_time":"2025-03-20T06:18:15+00:00","og_image":[{"width":1754,"height":274,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=145143#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=145143"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"Cross-domain Tracking Across Subdomains | Simo Ahava&#8217;s blog","datePublished":"2025-03-20T06:18:15+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=145143"},"wordCount":785,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=145143#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg","keywords":["Ahavas","Blog","Crossdomain","Simo","Subdomains","Tracking"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=145143#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=145143","url":"https:\/\/fivemor.com\/?p=145143","name":"Cross-domain Tracking Across Subdomains | Simo Ahava's blog - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=145143#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=145143#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg","datePublished":"2025-03-20T06:18:15+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=145143#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=145143"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=145143#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/developer-guide.jpg","width":1754,"height":274},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=145143#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Cross-domain Tracking Across Subdomains | Simo Ahava&#8217;s blog"}]},{"@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\/145143","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=145143"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/145143\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/145145"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=145143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=145143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=145143"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=145143"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=145143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}