{"id":82942,"date":"2025-02-12T00:15:42","date_gmt":"2025-02-12T00:15:42","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/the-fpid-cookie-for-google-analytics-in-server-side-tagging\/"},"modified":"2025-02-12T00:15:42","modified_gmt":"2025-02-12T00:15:42","slug":"the-fpid-cookie-for-google-analytics-in-server-side-tagging","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=82942","title":{"rendered":"The FPID Cookie For Google Analytics In Server-side Tagging"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<blockquote>\n<p>Last updated 27 April 2023 with details about preventing FPID access in cookieless scenarios.<\/p>\n<\/blockquote>\n<p>With <a href=\"https:\/\/www.simoahava.com\/analytics\/server-side-tagging-google-tag-manager\/\">Server-side tagging<\/a>, the developer community has a chance to vastly improve the data collection capabilities of Google\u2019s analytics platforms (<a href=\"https:\/\/support.google.com\/analytics\/answer\/2790010\">Universal Analytics<\/a> and <a href=\"https:\/\/support.google.com\/analytics\/answer\/9306384\">App+Web<\/a>). The ability to build <a href=\"https:\/\/www.simoahava.com\/gtm-tips\/build-custom-universal-analytics-client-server-side-tagging\/\">our own templates<\/a> is particularly potent with a Server container.<\/p>\n<p>However, it\u2019s not as if Google themselves are just sitting idly by and seeing what the community can come up with.<\/p>\n<p>In the built-in <strong>Universal Analytics Client<\/strong> template in a Server container, there\u2019s an option to migrate to a <strong>Server Managed<\/strong> Client ID.<\/p>\n<div style=\"aspect-ratio: 1466 \/ 1210;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-server-side.jpg\" title=\"FPID server-side\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1210\" width=\"1466\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-server-side.jpg#ZgotmplZ\" alt=\"FPID server-side\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>When using this particular Client for proxying Google Analytics requests, the Server container introduces a new cookie that <strong>is only accessible to the webserver<\/strong> and not to browser JavaScript. This cookie is named <code>FPID<\/code> (First Party Identifier) by default. The value stored in <code>FPID<\/code> will be used for setting the <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/protocol\/v1\/parameters#cid\">Client ID<\/a> in the request to Google\u2019s servers.<\/p>\n<p>In this article, I\u2019ll walk you through how this works and what its implications are for data collection and security.<\/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-it-works\">How it works<\/h2>\n<p>Be sure to check out the <a href=\"https:\/\/www.simoahava.com\/analytics\/server-side-tagging-google-tag-manager\/#what-is-server-side-tagging\">main guide<\/a> for an introduction to Server-side tagging. An understanding of how <a href=\"https:\/\/www.simoahava.com\/analytics\/server-side-tagging-google-tag-manager\/#clients-and-tags\">Clients and tags<\/a> work will make following this article much easier.<\/p>\n<p>Google Analytics uses the <code>&amp;cid<\/code> URL parameter in its data collection HTTP request to pass the Client ID from the browser (or device) to Google Analytics\u2019 servers. This Client ID is persisted in a first-party cookie written (and read) with JavaScript.<\/p>\n<p>With <code>FPID<\/code>, Google is moving away from the JavaScript-accessible cookie to an HTTP-set one, which is further secured with the <code>HttpOnly<\/code> flag. The new setting in the Universal Analytics Client gives you a couple of approaches to how to migrate (or not).<\/p>\n<h3 id=\"javascript-managed---business-as-usual\">JavaScript Managed &#8211; business as usual<\/h3>\n<p>When you set the configuration in the Client to <strong>JavaScript Managed<\/strong>, the Client will read the incoming request as usual, use the <code>&amp;cid<\/code> parameter from the request to set the Client ID in the outgoing request to Google Analytics, and then not really do anything else. So if you don\u2019t want to use this new way of storing the client identifier, you need to set the option to <strong>JavaScript Managed<\/strong>.<\/p>\n<div style=\"aspect-ratio: 1408 \/ 264;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-javascript-managed.jpg\" title=\"JavaScript managed cookie\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"264\" width=\"1408\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-javascript-managed.jpg#ZgotmplZ\" alt=\"JavaScript managed cookie\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<h3 id=\"server-managed---new-http-cookie\">Server Managed &#8211; new HTTP cookie<\/h3>\n<p>However, when you set it to <strong>Server Managed<\/strong>, the Client will now parse the identifier from a new cookie and prefer that to what the browser (or device) sends as the value of the <code>&amp;cid<\/code> parameter. The new cookie is written in the <code>Set-Cookie<\/code> HTTP header in the response back to the browser or other network source.<\/p>\n<p>In other words, without making adjustments (see below), the Server container will generate a new <code>FPID<\/code> cookie (if one doesn\u2019t already exist) and use that to populate the Client ID of the outgoing request to Google Analytics servers.<\/p>\n<p>The cookie is set with the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Cookies#Restrict_access_to_cookies\"><code>HttpOnly<\/code><\/a> flag, which means it is not accessible to browser JavaScript. Only the webserver can read the value of the cookie. This mitigates against <a href=\"https:\/\/www.cookiestatus.com\/introduction\/tracking-protection\/#cross-site-tracking\">cross-site tracking<\/a>, as first-party JavaScript-readable cookies are often repurposed for building cross-site profiles.<\/p>\n<div style=\"aspect-ratio: 2876 \/ 180;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-cookie.jpg\" title=\"FPID cookie\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"180\" width=\"2876\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-cookie.jpg#ZgotmplZ\" alt=\"FPID cookie\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>Setting the cookie in the HTTP response also makes it a bit more resilient against browsers with measures in place to reduce the utility of JavaScript cookies (see e.g. Apple\u2019s <a href=\"https:\/\/www.cookiestatus.com\/safari\/\">Intelligent Tracking Prevention<\/a>).<\/p>\n<h3 id=\"migrating-from-javascript-managed-to-server-managed\">Migrating from JavaScript Managed to Server Managed<\/h3>\n<p>To ensure that the Server container doesn\u2019t just start creating new Google Analytics users en masse, you can select the <strong>Migrate from JavaScript Managed Client ID<\/strong> option.<\/p>\n<p>With this option, the Universal Analytics Client will continue using the original JavaScript Managed Client ID value until such a time that the <code>_ga<\/code> cookie is deleted or the Client ID is reset. At that point, the system will migrate to the new Server Managed option stored in the <code>FPID<\/code> cookie.<\/p>\n<p>Here\u2019s what it does in detail:<\/p>\n<ol>\n<li><strong>IF<\/strong> the incoming HTTP request doesn\u2019t have the <code>FPID<\/code> cookie but does have the <code>&amp;cid<\/code> parameter set in the request, a new <code>FPID<\/code> cookie is created with a hash from the value of the <code>&amp;cid<\/code> parameter in the incoming request. This <code>&amp;cid<\/code> value is passed through to Google Analytics as the Client ID, thus not resetting the user.<\/li>\n<li><strong>IF<\/strong> the incoming HTTP request has both the <code>FPID<\/code> cookie and the <code>&amp;cid<\/code> parameter <strong>AND<\/strong> the <code>FPID<\/code> hash has been generated from this precise <code>&amp;cid<\/code> parameter, the value of the <code>&amp;cid<\/code> in the incoming request is passed through to Google Analytics as the Client ID, thus not resetting the user.<\/li>\n<li><strong>IF<\/strong> the incoming HTTP request has the <code>FPID<\/code> cookie and either doesn\u2019t have the <code>&amp;cid<\/code> parameter <strong>OR<\/strong> the values differ, then the hash stored in <code>FPID<\/code> is sent to Google Analytics as the Client ID. This <em>technically<\/em> \u201cresets\u201d the user, but since the <code>&amp;cid<\/code> already has a different value than what the <code>FPID<\/code> was originally derived from, the user would have been reset anyway.<\/li>\n<\/ol>\n<div style=\"aspect-ratio: 2672 \/ 1544;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-process.jpg\" title=\"FPID process\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1544\" width=\"2672\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2020\/08\/fpid-process.jpg#ZgotmplZ\" alt=\"FPID process\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<blockquote>\n<p>Note that the <code>FPID<\/code> hash generated from the <code>&amp;cid<\/code> value also includes a server-side seed, making it impossible to deduce the <code>FPID<\/code> value from that stored in the <code>_ga<\/code> cookie using client-side code.<\/p>\n<\/blockquote>\n<p>If these hits sent by the Server container are collected in a <strong>new<\/strong> Google Analytics property, it makes no sense to enable the <em>migration option<\/em>, as there would be no pre-existing users. Just use the <strong>Server Managed<\/strong> option without the migration selection checked.<\/p>\n<p>On the other hand, if you start with a Server Managed setup but then want to switch to the migration flow, perhaps because you decide to start collecting to your main Google Analytics property instead of a test property, you can enable the migration option. However, you\u2019ll first want to <strong>rename the <code>FPID<\/code> cookie<\/strong> or else the value stored in <code>FPID<\/code> from the original setup will be used instead of the Client ID of the incoming request. Renaming the <code>FPID<\/code> cookie essentially <em>resets<\/em> it.<\/p>\n<h2 id=\"caveat-1-multiple-google-analytics-cookies\">Caveat 1: Multiple Google Analytics cookies<\/h2>\n<p>One problem that arises with the Server Managed <code>FPID<\/code> cookie is when your site\u2019s trackers use different Client IDs. This is quite common, especially with <a href=\"https:\/\/www.simoahava.com\/gtm-tips\/cross-domain-tracking-with-multiple-ga-trackers\/\">cross-domain tracking<\/a>, where the roll-up cookie is kept separate from the regular Google Analytics cookie to avoid cross-domain tracking from overwriting the Client ID for trackers that don\u2019t want to use cross-domain tracking.<\/p>\n<div style=\"aspect-ratio: 794 \/ 148;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2020\/08\/rollup-cookie.jpg\" title=\"Roll-up cookie\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"148\" width=\"794\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2020\/08\/rollup-cookie.jpg#ZgotmplZ\" alt=\"Roll-up cookie\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>There is no support for multiple Client IDs in the Server Managed <code>FPID<\/code> option, so if you don\u2019t want the Server Managed option to break your multi-cookie setup, you need to hold off until a solution is released.<\/p>\n<h2 id=\"caveat-2-cross-domain-tracking\">Caveat 2: Cross-domain tracking<\/h2>\n<blockquote>\n<p><strong>Update 12 August 2021<\/strong>: This caveat is no longer valid, as <a href=\"https:\/\/www.simoahava.com\/gtm-tips\/cross-domain-tracking-server-side-fpid-cookie\/\">cross-domain tracking now works with the FPID cookie, too<\/a>.<\/p>\n<\/blockquote>\n<p>Similarly, because <code>FPID<\/code> is <code>HttpOnly<\/code>, it doesn\u2019t lend itself to cross-domain tracking. Cross-domain tracking is enabled with client-side code, and the <code>HttpOnly<\/code> flag makes it impossible for client-side code to access the Client ID for cross-domain link decoration.<\/p>\n<p>There is very likely a feature being designed to support cross-domain tracking, but until such a feature is released, you should hold off from running with the Server Managed option.<\/p>\n<h2 id=\"caveat-3-no-cookieless-option\">Caveat 3: No cookieless option<\/h2>\n<blockquote>\n<p><strong>Update 27 April 2023<\/strong>: This caveat is no longer valid, since <a href=\"https:\/\/www.simoahava.com\/gtm-tips\/prevent-sgtm-from-setting-fpid-cookie\/\">you can now conditionally set the FPID name to an empty string to prevent SGTM from accessing the cookie<\/a>.<\/p>\n<\/blockquote>\n<p>Client-side Google Analytics can be used <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/cookies-user-id#disabling_cookies\"><em>without cookies<\/em><\/a>. This is a viable option in the EU if the user hasn\u2019t given consent for storing or persisting any data in the browser or device.<\/p>\n<p>Unfortunately, the Server Managed <code>FPID<\/code> cookie doesn\u2019t currently have a way to comply with this wish. Incoming HTTP requests claimed by the Client with the Server Managed option activated generate the <code>FPID<\/code> cookie in all cases.<\/p>\n<p>Again, if this is a deal-breaker for you, you\u2019ll need to wait for the Client to support a cookieless option.<\/p>\n<h2 id=\"summary\">Summary<\/h2>\n<p>If Google Analytics engineers were given a chance to redesign how GA persists the client identifier, they would build GA with the <code>FPID<\/code> (or something similar) and steer far away from JavaScript cookies.<\/p>\n<p>Cookies are notoriously tricky to <em>get right<\/em>, but the fact is that the closer they are to client-side access, the less secure they are. Even though the Google Analytics identifier doesn\u2019t have any personal data encoded within, nor can it be used as an access key for any authentication systems, it\u2019s still a vector for <strong>cross-site tracking<\/strong>.<\/p>\n<p>The Google Analytics cookie is a persistent first-party identifier that can be repurposed for cross-site tracking in cookie syncing setups, for example.<\/p>\n<p>By moving the identifier to an <code>HttpOnly<\/code> cookie, the identifier is protected from misuse.<\/p>\n<p>Give <code>FPID<\/code> a spin &#8211; you can use the JavaScript Managed option for best compatibility. Just be mindful of the caveats listed in this article.<\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Last updated 27 April 2023 with details about preventing FPID access in cookieless scenarios. With Server-side tagging, the developer community has a chance to vastly improve the data collection capabilities of Google\u2019s analytics platforms (Universal Analytics and App+Web). The ability to build our own templates is particularly potent with a Server container. However, it\u2019s not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":82943,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[12765,14315,32450,1531,18475,29117],"dealstore":[],"offerexpiration":[],"class_list":["post-82942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-analytics","tag-cookie","tag-fpid","tag-google","tag-serverside","tag-tagging"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The FPID Cookie For Google Analytics In Server-side Tagging - 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=82942\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The FPID Cookie For Google Analytics In Server-side Tagging - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Last updated 27 April 2023 with details about preventing FPID access in cookieless scenarios. With Server-side tagging, the developer community has a chance to vastly improve the data collection capabilities of Google\u2019s analytics platforms (Universal Analytics and App+Web). The ability to build our own templates is particularly potent with a Server container. However, it\u2019s not [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=82942\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-12T00:15:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1466\" \/>\n\t<meta property=\"og:image:height\" content=\"1210\" \/>\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=82942#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"The FPID Cookie For Google Analytics In Server-side Tagging\",\"datePublished\":\"2025-02-12T00:15:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942\"},\"wordCount\":1439,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg\",\"keywords\":[\"Analytics\",\"Cookie\",\"FPID\",\"Google\",\"Serverside\",\"Tagging\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=82942#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=82942\",\"url\":\"https:\/\/fivemor.com\/?p=82942\",\"name\":\"The FPID Cookie For Google Analytics In Server-side Tagging - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg\",\"datePublished\":\"2025-02-12T00:15:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=82942#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=82942\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=82942#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg\",\"width\":1466,\"height\":1210},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=82942#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The FPID Cookie For Google Analytics In Server-side Tagging\"}]},{\"@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":"The FPID Cookie For Google Analytics In Server-side Tagging - 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=82942","og_locale":"en_US","og_type":"article","og_title":"The FPID Cookie For Google Analytics In Server-side Tagging - Som2ny Network","og_description":"Last updated 27 April 2023 with details about preventing FPID access in cookieless scenarios. With Server-side tagging, the developer community has a chance to vastly improve the data collection capabilities of Google\u2019s analytics platforms (Universal Analytics and App+Web). The ability to build our own templates is particularly potent with a Server container. However, it\u2019s not [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=82942","og_site_name":"Som2ny Network","article_published_time":"2025-02-12T00:15:42+00:00","og_image":[{"width":1466,"height":1210,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.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=82942#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=82942"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"The FPID Cookie For Google Analytics In Server-side Tagging","datePublished":"2025-02-12T00:15:42+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=82942"},"wordCount":1439,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=82942#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg","keywords":["Analytics","Cookie","FPID","Google","Serverside","Tagging"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=82942#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=82942","url":"https:\/\/fivemor.com\/?p=82942","name":"The FPID Cookie For Google Analytics In Server-side Tagging - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=82942#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=82942#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg","datePublished":"2025-02-12T00:15:42+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=82942#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=82942"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=82942#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/02\/fpid-server-side.jpg","width":1466,"height":1210},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=82942#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"The FPID Cookie For Google Analytics In Server-side Tagging"}]},{"@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\/82942","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=82942"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/82942\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/82943"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82942"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=82942"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=82942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}