{"id":8129,"date":"2024-07-02T23:42:07","date_gmt":"2024-07-02T23:42:07","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=8129"},"modified":"2024-07-02T23:42:07","modified_gmt":"2024-07-02T23:42:07","slug":"how-to-set-up-custom-dimensions-and-metrics-in-google-analytics","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/","title":{"rendered":"How to set up custom dimensions and metrics in Google Analytics"},"content":{"rendered":"<p>Custom dimensions and metrics in Google Analytics allow you to collect and analyze data that&#8217;s not automatically tracked by default. They provide the flexibility to tailor your analytics to your specific needs, enabling you to gather more detailed insights about your website or app users. This guide will walk you through the steps to set up custom dimensions and metrics in Google Analytics.<\/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-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#What_Are_Custom_Dimensions_and_Metrics\" title=\"What Are Custom Dimensions and Metrics?\">What Are Custom Dimensions and Metrics?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#Why_Use_Custom_Dimensions_and_Metrics\" title=\"Why Use Custom Dimensions and Metrics?\">Why Use Custom Dimensions and Metrics?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#Steps_to_Set_Up_Custom_Dimensions_and_Metrics\" title=\"Steps to Set Up Custom Dimensions and Metrics\">Steps to Set Up Custom Dimensions and Metrics<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#1_Access_Google_Analytics_Admin\" title=\"1. Access Google Analytics Admin\">1. Access Google Analytics Admin<\/a><\/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-set-up-custom-dimensions-and-metrics-in-google-analytics\/#2_Create_Custom_Dimensions\" title=\"2. Create Custom Dimensions\">2. Create Custom Dimensions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#3_Create_Custom_Metrics\" title=\"3. Create Custom Metrics\">3. Create Custom Metrics<\/a><\/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-set-up-custom-dimensions-and-metrics-in-google-analytics\/#4_Implement_Tracking_Code\" title=\"4. Implement Tracking Code\">4. Implement Tracking Code<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#For_Websites\" title=\"For Websites:\">For Websites:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#For_Mobile_Apps\" title=\"For Mobile Apps:\">For Mobile Apps:<\/a><\/li><\/ul><\/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-set-up-custom-dimensions-and-metrics-in-google-analytics\/#5_Verify_Data_Collection\" title=\"5. Verify Data Collection\">5. Verify Data Collection<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#6_Use_Custom_Dimensions_and_Metrics_in_Reports\" title=\"6. Use Custom Dimensions and Metrics in Reports\">6. Use Custom Dimensions and Metrics in Reports<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#7_Regularly_Review_and_Optimize\" title=\"7. Regularly Review and Optimize\">7. Regularly Review and Optimize<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#Best_Practices_for_Custom_Dimensions_and_Metrics\" title=\"Best Practices for Custom Dimensions and Metrics\">Best Practices for Custom Dimensions and Metrics<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#1_Plan_Ahead\" title=\"1. Plan Ahead\">1. Plan Ahead<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#2_Use_Descriptive_Names\" title=\"2. Use Descriptive Names\">2. Use Descriptive Names<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#3_Limit_the_Number_of_Custom_Dimensions_and_Metrics\" title=\"3. Limit the Number of Custom Dimensions and Metrics\">3. Limit the Number of Custom Dimensions and Metrics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#4_Test_Thoroughly\" title=\"4. Test Thoroughly\">4. Test Thoroughly<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#5_Document_Your_Setup\" title=\"5. Document Your Setup\">5. Document Your Setup<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_Are_Custom_Dimensions_and_Metrics\"><\/span>What Are Custom Dimensions and Metrics?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Custom Dimensions<\/strong>: These are user-defined attributes that can be used to describe your data. For example, you might create custom dimensions for user roles, content categories, or campaign names.<\/li>\n<li><strong>Custom Metrics<\/strong>: These are user-defined measurements that allow you to quantify aspects of your data. For example, you might create custom metrics for user ratings, download counts, or interactions.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Why_Use_Custom_Dimensions_and_Metrics\"><\/span>Why Use Custom Dimensions and Metrics?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Using custom dimensions and metrics can provide several benefits, including:<\/p>\n<ul>\n<li><strong>Enhanced Data Collection<\/strong>: Capture information that&#8217;s specific to your business needs.<\/li>\n<li><strong>Improved Analysis<\/strong>: Analyze data in ways that aren&#8217;t possible with standard dimensions and metrics.<\/li>\n<li><strong>Better Reporting<\/strong>: Create more detailed and meaningful reports.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Steps_to_Set_Up_Custom_Dimensions_and_Metrics\"><\/span>Steps to Set Up Custom Dimensions and Metrics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Access_Google_Analytics_Admin\"><\/span>1. Access Google Analytics Admin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Log in to your Google Analytics account and navigate to the Admin section. Select the property where you want to create custom dimensions and metrics.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Create_Custom_Dimensions\"><\/span>2. Create Custom Dimensions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To create custom dimensions, follow these steps:<\/p>\n<ol>\n<li><strong>Navigate to Custom Definitions<\/strong>: In the Admin panel, under the &#8220;Property&#8221; column, click on &#8220;Custom Definitions&#8221; and then &#8220;Custom Dimensions.&#8221;<\/li>\n<li><strong>Click on + New Custom Dimension<\/strong>: This opens a form to create a new custom dimension.<\/li>\n<li><strong>Fill in the Details<\/strong>: Provide a name for the custom dimension (e.g., &#8220;User Role&#8221;), select the scope (e.g., Hit, Session, User, or Product), and check the &#8220;Active&#8221; box.<\/li>\n<li><strong>Save the Dimension<\/strong>: Click &#8220;Create&#8221; to save your custom dimension.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"3_Create_Custom_Metrics\"><\/span>3. Create Custom Metrics<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To create custom metrics, follow these steps:<\/p>\n<ol>\n<li><strong>Navigate to Custom Definitions<\/strong>: In the Admin panel, under the &#8220;Property&#8221; column, click on &#8220;Custom Definitions&#8221; and then &#8220;Custom Metrics.&#8221;<\/li>\n<li><strong>Click on + New Custom Metric<\/strong>: This opens a form to create a new custom metric.<\/li>\n<li><strong>Fill in the Details<\/strong>: Provide a name for the custom metric (e.g., &#8220;User Rating&#8221;), select the formatting type (e.g., Integer, Currency, Time), and set the minimum and maximum values if applicable.<\/li>\n<li><strong>Save the Metric<\/strong>: Click &#8220;Create&#8221; to save your custom metric.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"4_Implement_Tracking_Code\"><\/span>4. Implement Tracking Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After creating custom dimensions and metrics, you need to implement the tracking code on your website or app to collect data. This typically involves modifying your Google Analytics tracking code.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"For_Websites\"><\/span>For Websites:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li><strong>Modify the GA Tracking Code<\/strong>: Use <code>gtag.js<\/code> or <code>analytics.js<\/code> to set custom dimensions and metrics. Here\u2019s an example for <code>gtag.js<\/code>:\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\">javascript<\/p>\n<div class=\"flex items-center\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center\">Copy code<\/button><\/span><\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-title function_\">gtag<\/span>(<span class=\"hljs-string\">'event'<\/span>, <span class=\"hljs-string\">'your_event_name'<\/span>, {<br \/>\n  <span class=\"hljs-string\">'custom_dimension_name'<\/span>: <span class=\"hljs-string\">'your_custom_dimension_value'<\/span>,<br \/>\n  <span class=\"hljs-string\">'custom_metric_name'<\/span>: your_custom_metric_value<br \/>\n});<br \/>\n<\/code><\/div>\n<\/div>\n<p>And for <code>analytics.js<\/code>:<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\">javascript<\/p>\n<div class=\"flex items-center\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center\">Copy code<\/button><\/span><\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-title function_\">ga<\/span>(<span class=\"hljs-string\">'create'<\/span>, <span class=\"hljs-string\">'UA-XXXX-Y'<\/span>, <span class=\"hljs-string\">'auto'<\/span>);<br \/>\n<span class=\"hljs-title function_\">ga<\/span>(<span class=\"hljs-string\">'set'<\/span>, <span class=\"hljs-string\">'dimension1'<\/span>, <span class=\"hljs-string\">'your_custom_dimension_value'<\/span>);<br \/>\n<span class=\"hljs-title function_\">ga<\/span>(<span class=\"hljs-string\">'set'<\/span>, <span class=\"hljs-string\">'metric1'<\/span>, your_custom_metric_value);<br \/>\n<span class=\"hljs-title function_\">ga<\/span>(<span class=\"hljs-string\">'send'<\/span>, <span class=\"hljs-string\">'pageview'<\/span>);<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Set the Custom Dimensions and Metrics in Your Code<\/strong>: Ensure that the custom dimensions and metrics are set in the appropriate events or pages where you want to collect data.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"For_Mobile_Apps\"><\/span>For Mobile Apps:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>If you\u2019re using Google Analytics for Firebase, you can set custom parameters in your events. Here\u2019s an example for Android:<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\">java<\/p>\n<div class=\"flex items-center\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center\">Copy code<\/button><\/span><\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-java\"><span class=\"hljs-type\">Bundle<\/span> <span class=\"hljs-variable\">params<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">Bundle<\/span>();<br \/>\nparams.putString(<span class=\"hljs-string\">\"custom_dimension_name\"<\/span>, <span class=\"hljs-string\">\"your_custom_dimension_value\"<\/span>);<br \/>\nparams.putInt(<span class=\"hljs-string\">\"custom_metric_name\"<\/span>, your_custom_metric_value);<br \/>\nmFirebaseAnalytics.logEvent(<span class=\"hljs-string\">\"your_event_name\"<\/span>, params);<br \/>\n<\/code><\/div>\n<\/div>\n<p>And for iOS:<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\">objc<\/p>\n<div class=\"flex items-center\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center\">Copy code<\/button><\/span><\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-objc\">[FIRAnalytics logEventWithName:<span class=\"hljs-string\">@\"your_event_name\"<\/span><br \/>\n                    parameters:@{<br \/>\n                      <span class=\"hljs-string\">@\"custom_dimension_name\"<\/span>: <span class=\"hljs-string\">@\"your_custom_dimension_value\"<\/span>,<br \/>\n                      <span class=\"hljs-string\">@\"custom_metric_name\"<\/span>: @(your_custom_metric_value)<br \/>\n                    }];<br \/>\n<\/code><\/div>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"5_Verify_Data_Collection\"><\/span>5. Verify Data Collection<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After implementing the tracking code, it\u2019s essential to verify that the data is being collected correctly. You can do this by:<\/p>\n<ol>\n<li><strong>Real-Time Reports<\/strong>: Check the real-time reports in Google Analytics to see if data is being recorded as expected.<\/li>\n<li><strong>Custom Reports<\/strong>: Create custom reports to include the custom dimensions and metrics and verify the data.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"6_Use_Custom_Dimensions_and_Metrics_in_Reports\"><\/span>6. Use Custom Dimensions and Metrics in Reports<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you\u2019ve verified that data collection is working, you can use custom dimensions and metrics in your reports:<\/p>\n<ol>\n<li><strong>Custom Reports<\/strong>: Go to &#8220;Customization&#8221; &gt; &#8220;Custom Reports&#8221; &gt; &#8220;New Custom Report&#8221; and include your custom dimensions and metrics.<\/li>\n<li><strong>Segments<\/strong>: Create segments using your custom dimensions and metrics to analyze specific subsets of data.<\/li>\n<li><strong>Dashboards<\/strong>: Add widgets to your dashboards that use custom dimensions and metrics to monitor performance.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"7_Regularly_Review_and_Optimize\"><\/span>7. Regularly Review and Optimize<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Regularly review the data collected through custom dimensions and metrics to ensure they continue to meet your business needs. Optimize your implementation and reports as necessary to gain the most valuable insights.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Best_Practices_for_Custom_Dimensions_and_Metrics\"><\/span>Best Practices for Custom Dimensions and Metrics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Plan_Ahead\"><\/span>1. Plan Ahead<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Carefully plan which custom dimensions and metrics you need before implementing them. This helps ensure that you collect meaningful data.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Use_Descriptive_Names\"><\/span>2. Use Descriptive Names<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Choose descriptive names for your custom dimensions and metrics to make them easily identifiable in reports.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Limit_the_Number_of_Custom_Dimensions_and_Metrics\"><\/span>3. Limit the Number of Custom Dimensions and Metrics<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Google Analytics allows a limited number of custom dimensions and metrics per property. Use them wisely to avoid reaching the limit.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Test_Thoroughly\"><\/span>4. Test Thoroughly<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Thoroughly test your implementation to ensure that data is being collected accurately and consistently.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Document_Your_Setup\"><\/span>5. Document Your Setup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Maintain documentation of your custom dimensions and metrics, including their names, scopes, and where they are used. This can be helpful for future reference and when sharing insights with your team.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Setting up custom dimensions and metrics in Google Analytics allows you to tailor your data collection to your specific business needs. By following the steps outlined in this guide, you can create, implement, and utilize custom dimensions and metrics to gain deeper insights into your website or app performance. Regularly review and optimize your setup to ensure that you continue to gather valuable and actionable data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom dimensions and metrics in Google Analytics allow you to collect and analyze data that&#8217;s not automatically tracked by default. They provide the flexibility to&#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-8129","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 set up custom dimensions and metrics in Google Analytics - 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-set-up-custom-dimensions-and-metrics-in-google-analytics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up custom dimensions and metrics in Google Analytics - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Custom dimensions and metrics in Google Analytics allow you to collect and analyze data that&#8217;s not automatically tracked by default. They provide the flexibility to...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-02T23:42:07+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-set-up-custom-dimensions-and-metrics-in-google-analytics\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/\",\"name\":\"How to set up custom dimensions and metrics in Google Analytics - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-07-02T23:42:07+00:00\",\"dateModified\":\"2024-07-02T23:42:07+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up custom dimensions and metrics in Google Analytics\"}]},{\"@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 set up custom dimensions and metrics in Google Analytics - 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-set-up-custom-dimensions-and-metrics-in-google-analytics\/","og_locale":"en_US","og_type":"article","og_title":"How to set up custom dimensions and metrics in Google Analytics - CEOweb Ltd. Blog","og_description":"Custom dimensions and metrics in Google Analytics allow you to collect and analyze data that&#8217;s not automatically tracked by default. They provide the flexibility to...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-07-02T23:42:07+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-set-up-custom-dimensions-and-metrics-in-google-analytics\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/","name":"How to set up custom dimensions and metrics in Google Analytics - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-07-02T23:42:07+00:00","dateModified":"2024-07-02T23:42:07+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-custom-dimensions-and-metrics-in-google-analytics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up custom dimensions and metrics in Google Analytics"}]},{"@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\/8129","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=8129"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/8129\/revisions"}],"predecessor-version":[{"id":8130,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/8129\/revisions\/8130"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=8129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=8129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=8129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}