{"id":7729,"date":"2025-04-12T14:18:56","date_gmt":"2025-04-12T14:18:56","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=7729"},"modified":"2025-04-23T05:37:29","modified_gmt":"2025-04-23T05:37:29","slug":"how-to-deduplicate-clientside-serverside-for-the-first-node","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/","title":{"rendered":"How to Deduplicate Clientside &amp; Serverside for the First Node"},"content":{"rendered":"\n<p><strong>WARNING! It&#8217;s assumed you have an in-depth understanding of clientside, serverside tracking with deduplication.<\/strong><\/p>\n\n\n\n<p><strong>IMPORTANT! With this setup, you will need to add a &#8216;dummy&#8217; node to the start of your decision tree. This can ADD latency because Node 1 has to load, fire GTM and fire pixels etc so please be sure to test FIRST before driving live traffic.  This dummy &#8216;Node 1&#8217; contains a script that waits for GTM and the various pixels to fire.  The reason is to ensure you grab the various values required for serverside tracking when can only be attained from the various pixels.  Example: Facebook serverside tracking requires FBC and FBP values for perfect deduplication.<\/strong><\/p>\n\n\n\n<p>This setup explained here assumes you are using the LeadsHook provided GTM container.  If are NOT using LeadsHook GTM container then can still learn why and how this setup works &#8212; unfortunately you will have to do a lot of custom scripting to make it work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Video 1: Understanding First Node Clientside &amp; Serverside Deduplication<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe src=\"https:\/\/player.vimeo.com\/video\/1074870346?dnt=1&amp;app_id=122963\" width=\"980\" height=\"551\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Video 2: Confirmimg Your Clientside &amp; Serverside Deduplication is Working<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe src=\"https:\/\/player.vimeo.com\/video\/1074921240?dnt=1&amp;app_id=122963\" width=\"980\" height=\"551\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/04\/GTM-NCFSLL97_workspace51.json_.zip\">Download Sample Google Tag Manager<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/04\/dedup-node-1_2025-04-23.zip\">Download Sample Decision Tree<\/a> (Import .zip into LeadsHook)<\/p>\n\n\n\n<p><a href=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/04\/Node-1-Deduplication-Script.txt.zip\">Download Node 1 Script<\/a> (Unzip to view script in text file.  This is ALSO available in the decision tree download above)<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WARNING! It&#8217;s assumed you have an in-depth understanding of clientside, serverside tracking with deduplication. IMPORTANT! With this setup, you will need to add a &#8216;dummy&#8217; node to the start of your decision tree. This can ADD latency because Node 1 has to load, fire GTM and fire pixels etc so please be sure to test [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[972,986,758,27,259,239,281],"tags":[1092,1093,100,325,102,4,111],"class_list":["post-7729","post","type-post","status-publish","format-standard","hentry","category-analytics","category-api","category-custom-page","category-decision-tree","category-nodes","category-tracking","category-webhooks","tag-deduplicate","tag-deduplication","tag-facebook","tag-google-analytics","tag-google-tag-manager","tag-leadshook","tag-tracking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base<\/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:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"WARNING! It&#8217;s assumed you have an in-depth understanding of clientside, serverside tracking with deduplication. IMPORTANT! With this setup, you will need to add a &#8216;dummy&#8217; node to the start of your decision tree. This can ADD latency because Node 1 has to load, fire GTM and fire pixels etc so please be sure to test [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-12T14:18:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-23T05:37:29+00:00\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"How to Deduplicate Clientside &amp; Serverside for the First Node\",\"datePublished\":\"2025-04-12T14:18:56+00:00\",\"dateModified\":\"2025-04-23T05:37:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/\"},\"wordCount\":224,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"keywords\":[\"deduplicate\",\"deduplication\",\"facebook\",\"google analytics\",\"google tag manager\",\"Leadshook\",\"tracking\"],\"articleSection\":[\"Analytics\",\"API\",\"Custom Page\",\"Decision Tree\",\"Nodes\",\"Tracking\",\"Webhooks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/\",\"name\":\"How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"datePublished\":\"2025-04-12T14:18:56+00:00\",\"dateModified\":\"2025-04-23T05:37:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-deduplicate-clientside-serverside-for-the-first-node\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Deduplicate Clientside &amp; Serverside for the First Node\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base","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:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/","og_locale":"en_US","og_type":"article","og_title":"How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base","og_description":"WARNING! It&#8217;s assumed you have an in-depth understanding of clientside, serverside tracking with deduplication. IMPORTANT! With this setup, you will need to add a &#8216;dummy&#8217; node to the start of your decision tree. This can ADD latency because Node 1 has to load, fire GTM and fire pixels etc so please be sure to test [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2025-04-12T14:18:56+00:00","article_modified_time":"2025-04-23T05:37:29+00:00","author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"How to Deduplicate Clientside &amp; Serverside for the First Node","datePublished":"2025-04-12T14:18:56+00:00","dateModified":"2025-04-23T05:37:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/"},"wordCount":224,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"keywords":["deduplicate","deduplication","facebook","google analytics","google tag manager","Leadshook","tracking"],"articleSection":["Analytics","API","Custom Page","Decision Tree","Nodes","Tracking","Webhooks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/","url":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/","name":"How to Deduplicate Clientside &amp; Serverside for the First Node - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"datePublished":"2025-04-12T14:18:56+00:00","dateModified":"2025-04-23T05:37:29+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/how-to-deduplicate-clientside-serverside-for-the-first-node\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to Deduplicate Clientside &amp; Serverside for the First Node"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=7729"}],"version-history":[{"count":9,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7729\/revisions"}],"predecessor-version":[{"id":7748,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7729\/revisions\/7748"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=7729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=7729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=7729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}