{"id":1049,"date":"2018-04-05T20:08:41","date_gmt":"2018-04-05T16:08:41","guid":{"rendered":"https:\/\/e-cens.com\/?p=1049"},"modified":"2024-02-14T12:41:40","modified_gmt":"2024-02-14T12:41:40","slug":"use-data-studio-to-replicate-adobe-analytics-rules-based-data-dimension-classifications","status":"publish","type":"post","link":"https:\/\/e-cens.com\/blog\/use-data-studio-to-replicate-adobe-analytics-rules-based-data-dimension-classifications\/","title":{"rendered":"Replicating Adobe Analytics Reports in Data Studio"},"content":{"rendered":"\n<p>If you have decided to&nbsp;<a href=\"https:\/\/e-cens.com\/migration-from-adobe-analytics-to-google-analytics-360\/\">migrate from Adobe Analytics to Google Analytics 360<\/a>, you may be looking for new ways to generate the types of reports your organization used within the Adobe Analytics infrastructure. This post presents a quick and easy solution for reporting on Google Analytics 360 data in Data Studio in a way that replicates Adobe Analytics\u2019 rules-based approach to data dimension classification.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-defining-calculated-dimensions-in-data-studio\">Defining Calculated Dimensions in Data Studio<\/h2>\n\n\n\n<p>Let\u2019s say that you want to look at your daily data using these classifications:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Weekend\/Weekday<\/li>\n\n\n\n<li>Morning\/Evening<\/li>\n<\/ul>\n\n\n\n<p>You can follow four simple steps to calculate these classifications in Data Studio based on standard Google Analytics 360 data:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect Google Analytics as a data source in your Data Studio report<\/li>\n\n\n\n<li>Create a calculated dimension<\/li>\n\n\n\n<li>Add this function to create the Weekend\/Weekday classification (calculation of day of the week data):\n<pre>CASE WHEN REGEXP_MATCH(Day of Week Name, \"Saturday|Sunday\") \n\nTHEN \"Weekend\" ELSE \"Weekday\" END<\/pre>\n<\/li>\n\n\n\n<li>Add this function to create the Morning\/Evening classification (calculation of hourly data):\n<pre>CASE WHEN (REGEXP_MATCH(Hour, '0[0-9]|1[0-1]')) \n\nTHEN 'AM' ELSE \"PM\" END<\/pre>\n<\/li>\n<\/ol>\n\n\n\n<div id=\"attachment_29868\" class=\"wp-caption aligncenter\">\n<figure><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6654\" src=\"https:\/\/e-cens.com\/wp-content\/uploads\/2018\/04\/ds-adobe1-1.png\" alt=\"Analytics Rules-Based Data Dimension\" width=\"975\" height=\"548\"><\/figure><p><\/p>\n<p id=\"caption-attachment-29868\" class=\"wp-caption-text\"><em>Adding the Morning\/Evening classification function in Data Studio.<\/em><\/p>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-reporting-on-calculated-dimensions-in-data-studio\">Reporting on Calculated Dimensions in Data Studio<\/h2>\n\n\n\n<p>Thanks to Data Studio\u2019s calculated dimensions feature, you can report on any rules-based dimensions that your organization needs:<\/p>\n\n\n\n<p><iframe loading=\"lazy\" src=\"https:\/\/datastudio.google.com\/embed\/reporting\/1OM6fW4imIYGxuqFSv8M_hQozmg76fG7K\/page\/y9mO\" width=\"975\" height=\"825\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><em>These line charts indicate session count over different time periods for the AM\/PM and Weekday\/Weekend dimension values that we calculated in Data Studio.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/e-cens.com\/wp-content\/uploads\/2019\/02\/51fce0fbddb8762a9357e3f25a3c5f24.png\" alt=\"Patrick Soch\" class=\"wp-image-6274\" srcset=\"https:\/\/e-cens.com\/wp-content\/uploads\/2019\/02\/51fce0fbddb8762a9357e3f25a3c5f24.png 150w, https:\/\/e-cens.com\/wp-content\/uploads\/2019\/02\/51fce0fbddb8762a9357e3f25a3c5f24-100x100.png 100w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/figure>\n<\/div>\n\n\n<p>This post was originally written by<br><strong>Patrick Soch<\/strong><br><em>Digital Analytics Consultant, e-nor<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have decided to&nbsp;migrate from Adobe Analytics to Google Analytics 360, you may be looking for new ways to generate the types of reports your organization used within the Adobe Analytics infrastructure. This post presents a quick and easy solution for reporting on Google Analytics 360 data in Data Studio in a way that [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":6365,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","content-type":"","ub_ctt_via":"","footnotes":""},"categories":[25],"tags":[],"class_list":["post-1049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-analytics-360"],"acf":[],"featured_image_src":"https:\/\/e-cens.com\/wp-content\/uploads\/2019\/02\/ds_adobe-thumb.png","author_info":{"display_name":"Bashar Hafez","author_link":"https:\/\/e-cens.com\/author\/bashar\/"},"_links":{"self":[{"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/posts\/1049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/comments?post=1049"}],"version-history":[{"count":0,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/posts\/1049\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/media\/6365"}],"wp:attachment":[{"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/media?parent=1049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/categories?post=1049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-cens.com\/wp-json\/wp\/v2\/tags?post=1049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}