{"id":10799,"date":"2024-11-22T21:16:03","date_gmt":"2024-11-22T21:16:03","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10799"},"modified":"2024-11-22T21:16:03","modified_gmt":"2024-11-22T21:16:03","slug":"how-to-track-custom-user-properties-in-google-tag-manager","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/","title":{"rendered":"How to track custom user properties in Google Tag Manager"},"content":{"rendered":"<p>Tracking custom user properties in Google Tag Manager (GTM) allows you to capture specific user data (such as user preferences, behavior, or any other custom attributes) and send them to analytics or marketing platforms, like Google Analytics, Facebook, or other third-party services. Custom user properties can enhance your ability to segment users, understand their behavior, and improve marketing efforts.<\/p>\n<p>Here\u2019s how to track custom user properties in Google Tag Manager:<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Step_1_Identify_the_Custom_User_Property\" title=\"Step 1: Identify the Custom User Property\">Step 1: Identify the Custom User Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Step_2_Use_the_Data_Layer_or_JavaScript_to_Capture_Custom_User_Properties\" title=\"Step 2: Use the Data Layer or JavaScript to Capture Custom User Properties\">Step 2: Use the Data Layer or JavaScript to Capture Custom User Properties<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Option_1_Using_the_Data_Layer\" title=\"Option 1: Using the Data Layer\">Option 1: Using the Data Layer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Option_2_Using_JavaScript_Variables\" title=\"Option 2: Using JavaScript Variables\">Option 2: Using JavaScript Variables<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Step_3_Send_Custom_Properties_to_Analytics_Platforms_eg_Google_Analytics\" title=\"Step 3: Send Custom Properties to Analytics Platforms (e.g., Google Analytics)\">Step 3: Send Custom Properties to Analytics Platforms (e.g., Google Analytics)<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Example_Send_Custom_Properties_to_Google_Analytics\" title=\"Example: Send Custom Properties to Google Analytics\">Example: Send Custom Properties to Google Analytics<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Step_4_Tracking_Custom_Properties_in_Other_Platforms\" title=\"Step 4: Tracking Custom Properties in Other Platforms\">Step 4: Tracking Custom Properties in Other Platforms<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Step_5_Analyze_Custom_Properties\" title=\"Step 5: Analyze Custom Properties\">Step 5: Analyze Custom Properties<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Best_Practices_for_Tracking_Custom_User_Properties_in_GTM\" title=\"Best Practices for Tracking Custom User Properties in GTM\">Best Practices for Tracking Custom User Properties in GTM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Identify_the_Custom_User_Property\"><\/span>Step 1: Identify the Custom User Property<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The first step is to identify which custom user property you want to track. This could be anything specific to your website or application, such as:<\/p>\n<ul>\n<li>User ID (from a logged-in user)<\/li>\n<li>User type (e.g., free or premium users)<\/li>\n<li>Membership status (active, inactive, expired)<\/li>\n<li>Referral source<\/li>\n<li>User behavior attributes (such as \u201cnumber of purchases\u201d or \u201cpages viewed\u201d)<\/li>\n<\/ul>\n<p>These values might be stored in variables on the page or in a data layer.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Use_the_Data_Layer_or_JavaScript_to_Capture_Custom_User_Properties\"><\/span>Step 2: Use the Data Layer or JavaScript to Capture Custom User Properties<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"Option_1_Using_the_Data_Layer\"><\/span>Option 1: Using the Data Layer<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If you have custom user properties that are available in the <strong>Data Layer<\/strong> (the JavaScript object that GTM can access), you can push these values to the Data Layer for use within GTM.<\/p>\n<ol>\n<li><strong>Push custom properties to the Data Layer<\/strong>: To do this, you need to include the custom property data on your webpage when the page loads or when a specific event occurs.\n<p>Example of pushing custom properties to the Data Layer:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">javascript<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\">Copy code<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span> = <span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span> || [];<br \/>\n<span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span>.<span class=\"hljs-title function_\">push<\/span>({<br \/>\n    <span class=\"hljs-string\">'event'<\/span>: <span class=\"hljs-string\">'userData'<\/span>,<br \/>\n    <span class=\"hljs-string\">'userId'<\/span>: <span class=\"hljs-string\">'12345'<\/span>,<br \/>\n    <span class=\"hljs-string\">'userType'<\/span>: <span class=\"hljs-string\">'premium'<\/span>,<br \/>\n    <span class=\"hljs-string\">'membershipStatus'<\/span>: <span class=\"hljs-string\">'active'<\/span><br \/>\n});<br \/>\n<\/code><\/div>\n<\/div>\n<p>In this example, the custom user properties (<code>userId<\/code>, <code>userType<\/code>, and <code>membershipStatus<\/code>) are pushed into the Data Layer.<\/li>\n<li><strong>Access Data Layer variables in GTM<\/strong>: Once the custom properties are pushed to the Data Layer, you can create GTM variables to capture these values.\n<ul>\n<li>In <strong>GTM<\/strong>, go to <strong>Variables &gt; New &gt; Data Layer Variable<\/strong>.<\/li>\n<li>Name the variable, e.g., <code>userId<\/code>, and set the <strong>Data Layer Variable Name<\/strong> to the corresponding key from the Data Layer (e.g., <code>userId<\/code>).<\/li>\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Repeat for other custom properties<\/strong>: Create additional Data Layer variables for <code>userType<\/code> and <code>membershipStatus<\/code> using the same process.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Option_2_Using_JavaScript_Variables\"><\/span>Option 2: Using JavaScript Variables<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If custom properties are not in the Data Layer but are accessible through the page&#8217;s JavaScript (e.g., in a global JavaScript variable), you can use a <strong>JavaScript Variable<\/strong> to capture those properties.<\/p>\n<ol>\n<li><strong>Create a JavaScript Variable in GTM<\/strong>:\n<ul>\n<li>In GTM, go to <strong>Variables &gt; New &gt; JavaScript Variable<\/strong>.<\/li>\n<li>Set the <strong>Variable Name<\/strong> to the JavaScript variable that holds the custom property. For example, if the custom user property <code>userId<\/code> is stored in <code>window.userInfo.userId<\/code>, set the variable to <code>window.userInfo.userId<\/code>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Repeat for other custom properties<\/strong>: You can create additional JavaScript Variables for other properties such as <code>userType<\/code> or <code>membershipStatus<\/code>.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Send_Custom_Properties_to_Analytics_Platforms_eg_Google_Analytics\"><\/span>Step 3: Send Custom Properties to Analytics Platforms (e.g., Google Analytics)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you\u2019ve captured the custom properties in GTM, you can send them to your analytics or marketing platform.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Example_Send_Custom_Properties_to_Google_Analytics\"><\/span>Example: Send Custom Properties to Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li><strong>Create a Google Analytics Tag in GTM<\/strong>:\n<ul>\n<li>In <strong>GTM<\/strong>, go to <strong>Tags &gt; New &gt; Tag Configuration &gt; Google Analytics: Universal Analytics<\/strong> (or Google Analytics 4 if you&#8217;re using that version).<\/li>\n<li>Select the appropriate <strong>Tracking Type<\/strong> (e.g., Page View, Event).<\/li>\n<\/ul>\n<\/li>\n<li><strong>Send Custom Properties as Custom Dimensions<\/strong>: To send the custom properties (e.g., <code>userId<\/code>, <code>userType<\/code>, <code>membershipStatus<\/code>) as custom dimensions in Google Analytics:\n<ul>\n<li>Under <strong>More Settings &gt; Custom Dimensions<\/strong> (Universal Analytics) or <strong>Event Parameters<\/strong> (Google Analytics 4), map the Data Layer Variables or JavaScript Variables you created earlier to the corresponding <strong>Custom Dimension<\/strong> slots in Google Analytics.<\/li>\n<\/ul>\n<p>For example:<\/p>\n<ul>\n<li>Custom Dimension 1: <code>userId<\/code> \u2192 Data Layer Variable <code>userId<\/code><\/li>\n<li>Custom Dimension 2: <code>userType<\/code> \u2192 Data Layer Variable <code>userType<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>Test the Tag<\/strong>:\n<ul>\n<li>Use <strong>Preview Mode<\/strong> in GTM to verify that the custom properties are sent correctly to Google Analytics.<\/li>\n<li>Check in <strong>Google Analytics<\/strong> under <strong>Behavior &gt; Events<\/strong> or <strong>Custom Dimensions<\/strong> (depending on your setup) to confirm that the custom user properties are being tracked.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Publish the Changes<\/strong>: After confirming that everything works correctly, go ahead and <strong>Publish<\/strong> the changes in Google Tag Manager.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Tracking_Custom_Properties_in_Other_Platforms\"><\/span>Step 4: Tracking Custom Properties in Other Platforms<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you&#8217;re sending custom user properties to other platforms like Facebook, Twitter, or LinkedIn, the process is similar:<\/p>\n<ol>\n<li><strong>Create a tag<\/strong> for the respective platform (e.g., Facebook Pixel, Twitter Pixel).<\/li>\n<li><strong>Map the custom properties<\/strong> to the platform\u2019s event or tracking requirements.<\/li>\n<li><strong>Use the appropriate variables<\/strong> you set up in GTM to send custom data.<\/li>\n<\/ol>\n<p>For example, to send custom properties to Facebook Pixel, you would use the Facebook Pixel tag in GTM and include the custom properties as part of the Pixel event.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Analyze_Custom_Properties\"><\/span>Step 5: Analyze Custom Properties<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once your custom properties are being tracked, you can analyze them in the respective platforms:<\/p>\n<ul>\n<li>In <strong>Google Analytics<\/strong>, you can use <strong>Custom Dimensions<\/strong> to view user data in reports.<\/li>\n<li>In <strong>Facebook<\/strong> or <strong>Twitter Ads<\/strong>, custom properties may help with better ad targeting or optimization.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Best_Practices_for_Tracking_Custom_User_Properties_in_GTM\"><\/span>Best Practices for Tracking Custom User Properties in GTM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Naming Conventions<\/strong>: Be consistent with naming your variables to avoid confusion (e.g., always use camelCase like <code>userId<\/code>, <code>userType<\/code>, <code>membershipStatus<\/code>).<\/li>\n<li><strong>Data Privacy<\/strong>: Ensure that the data you\u2019re sending doesn\u2019t violate privacy policies. Do not send personally identifiable information (PII) unless properly anonymized or compliant with regulations like GDPR.<\/li>\n<li><strong>Testing<\/strong>: Always test thoroughly in GTM&#8217;s Preview Mode to ensure that custom properties are captured correctly before publishing.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tracking custom user properties in Google Tag Manager provides valuable insights into user behavior, helps improve segmentation, and enhances your ability to target specific audiences for marketing purposes. By pushing custom data to the Data Layer or using JavaScript variables, you can easily track properties such as user type, membership status, and other attributes and send them to platforms like Google Analytics, Facebook, or Twitter for better tracking and optimization.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tracking custom user properties in Google Tag Manager (GTM) allows you to capture specific user data (such as user preferences, behavior, or any other custom&#8230;<\/p>\n","protected":false},"author":214,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10799","post","type-post","status-publish","format-standard","hentry","category-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog<\/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:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Tracking custom user properties in Google Tag Manager (GTM) allows you to capture specific user data (such as user preferences, behavior, or any other custom...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-22T21:16:03+00:00\" \/>\n<meta name=\"author\" content=\"Emmanuel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Emmanuel\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/\",\"name\":\"How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-11-22T21:16:03+00:00\",\"dateModified\":\"2024-11-22T21:16:03+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to track custom user properties in Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\",\"url\":\"https:\/\/ceowebltd.com\/blog\/\",\"name\":\"CEOweb Ltd. Blog\",\"description\":\"Guest Posting - Digital Marketing &amp; Web Services\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\",\"name\":\"Emmanuel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"caption\":\"Emmanuel\"},\"url\":\"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog","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:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog","og_description":"Tracking custom user properties in Google Tag Manager (GTM) allows you to capture specific user data (such as user preferences, behavior, or any other custom...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-11-22T21:16:03+00:00","author":"Emmanuel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emmanuel","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/","name":"How to track custom user properties in Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-11-22T21:16:03+00:00","dateModified":"2024-11-22T21:16:03+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-custom-user-properties-in-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to track custom user properties in Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/ceowebltd.com\/blog\/#website","url":"https:\/\/ceowebltd.com\/blog\/","name":"CEOweb Ltd. Blog","description":"Guest Posting - Digital Marketing &amp; Web Services","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f","name":"Emmanuel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","caption":"Emmanuel"},"url":"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/"}]}},"_links":{"self":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/users\/214"}],"replies":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/comments?post=10799"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10799\/revisions"}],"predecessor-version":[{"id":10800,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10799\/revisions\/10800"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}