{"id":52342,"date":"2014-12-02T08:25:49","date_gmt":"2014-12-02T07:25:49","guid":{"rendered":"https:\/\/www.humanlevel.com\/sin-categorizar\/expresiones-regulares-en-google-analytics.html"},"modified":"2023-10-16T16:16:42","modified_gmt":"2023-10-16T14:16:42","slug":"use-of-regular-expressions-in-google-analytics","status":"publish","type":"post","link":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics","title":{"rendered":"Use of regular expressions in Google Analytics"},"content":{"rendered":"<p>Non-technical people may not be familiar with the <strong>use of regular expressions<\/strong>. For those who are not familiar with them, <strong>regular expressions are sequences of characters that form search patterns<\/strong>. These search patterns are useful in many sections of Google Analytics as they allow us to have a given functionality run in a large number of scenarios without having to list or know every single one of them.<\/p>\n<blockquote><p>Regular expressions are sequences of characters that form search patterns.<\/p><\/blockquote>\n<p>Let&#8217;s say as an example that we want to list in an Analytics table product URLs that start with directories like:<\/p>\n<ul>\n<li>\/product\/shoes\/women\/boots\/<\/li>\n<li>\/product\/shoes\/men\/boots\/<\/li>\n<li>\/product\/shoes\/children\/boots\/<\/li>\n<\/ul>\n<p>A regular expression or search pattern such as &#8220;\/boots\/&#8221; would be fulfilled in all three cases (since all three URLs contain the literal &#8220;\/boots\/&#8221;), but imagine we have other URLs such as &#8220;\/blog\/boots\/&#8221; that would also fulfill this condition and we do not want it to appear in our data table. We must therefore further narrow down the search or further detail the regular expression to return as a result the URLs we are interested in. We could do this for example with the regular expression &#8220;^\/product\/shoes\/(.+)\/boots\/&#8221;. We understand the regular expression as follows:<\/p>\n<ul>\n<li>The circumflex accent ^ determines that the string must begin with the literal that follows it, in this case &#8220;\/product\/shoes\/&#8221;.<\/li>\n<li>The (.+) part would be allowing a directory with any string since the dot is interpreted as &#8220;any character&#8221; and the plus symbol which must be repeated 1 or more times.<\/li>\n<li>The string could continue with the literal &#8220;\/boots\/&#8221; and after that any string since we have not set an end-of-string limiter, which in regular expressions is determined by the dollar sign $.<\/li>\n<\/ul>\n<p>In short, this regular expression would return data from pages in the boots directory that are inside any directory starting with \/product\/shoes\/.<br \/>\nIf you want more <strong>information about regular expressions<\/strong>, there are countless tutorials that will help you to understand them and in many cases to test them, although there are features in Analytics such as filters in tables that will allow you to test them in real time.<\/p>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/1034324?hl=es\">Google Analytics regular expressions documentation<\/a><\/li>\n<li><a href=\"https:\/\/es.wikipedia.org\/wiki\/Expresi%C3%B3n_regular\">Regular expressions in Wikipedia<\/a><\/li>\n<li><a href=\"https:\/\/desarrolloweb.com\/manuales\/expresiones-regulares.html\">Web Development Regular Expressions Handbook<\/a><\/li>\n<\/ul>\n<h2>Regular expressions in traffic view filters<\/h2>\n<p>Filters allow us to perform certain actions on the data recorded by a traffic view. Although the predefined filters allow us to select some types of comparisons in a simple way, there are cases in which <strong>we will have to resort to regular expressions<\/strong>.<br \/>\nLet&#8217;s take for example a website where we have the content in Spanish in the \/es\/ directory, a blog in Spanish in the \/blog\/ directory, the content translated into English in the \/en\/ directory and the content translated into French in the \/fr\/ directory.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17903\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/2014-10-26_1655.png\" alt=\"Example of the use of regular expressions in Google Analytics\" width=\"725\" height=\"201\" srcset=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/2014-10-26_1655.png 725w, https:\/\/www.humanlevel.com\/wp-content\/uploads\/2014-10-26_1655-720x200.png 720w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><br \/>\nAnd we want to obtain in one view all the traffic of the Spanish content (home page + directory \/en\/ + \/blog\/). If we create a filter that allows the content of the home page.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17904\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro.jpg\" alt=\"Example of a filter in Analytics\" width=\"500\" height=\"184\"><br \/>\nAnother one that allows traffic to directories starting with \/en\/.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17905\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro2.jpg\" alt=\"Example of a filter in Analytics\" width=\"500\" height=\"184\"><br \/>\nAnd another equivalent for the \/blog\/ directory.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17906\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtros.jpg\" alt=\"Example of a filter in Analytics\" width=\"500\" height=\"186\"><br \/>\nIf we have the three filters in this order the result will be the traffic to the home page, this is due to the order of application of the filters. In this case only the home page will meet the first filter and the rest of the pages will be discarded.<br \/>\nAnother possibility would be to exclude the \/en\/ and \/fr\/ directories, and in this way we would be left with only the traffic of the Spanish parts. But we run the risk of traffic being recorded from parties we don&#8217;t have control over or new directories being created without realizing that the analytics need to be reviewed.<br \/>\nSo <strong>the most elegant solution to this problem is to use a regular expression<\/strong>. The way to solve it would be with a regular expression that allows traffic to the home page, or to the \/blog\/ directory, or to the English content \/es\/.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17908\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro-ER.jpg\" alt=\"Filtering in Google Analytics with regular expressions\" width=\"500\" height=\"476\"><br \/>\nAs you can see in the screenshot, we would have to use a custom filter that will include the visit to the pages whose URI complies with the regular expression (^\/$)|(^\/en\/)|(^\/blog\/). This regular expression allows the 3 options separated by the slash &#8220;|&#8221;, this slash is used to separate the different options:<\/p>\n<ul>\n<li>(^\/$): that of the home page, the URI must begin (symbol ^) and end (symbol $) with a slash \/.<\/li>\n<li>(^\/en\/): the directory \/en\/, the URI must start (symbol ^) with the directory \/en\/.<\/li>\n<li>(^\/blog\/): the \/blog\/ directory, the URI must start (symbol ^) with the \/blog\/ directory.<\/li>\n<\/ul>\n<p>With this solution, even if the content of the rest of the site changes, we will only record traffic from these 3 URI types.<\/p>\n<h2>Regular expressions in table filters of reports<\/h2>\n<p>In the filters of the report tables we have a problem similar to that of the filters for the traffic views. In this case <strong>only the use of the logical operator &#8220;and&#8221; is allowed to define conditions<\/strong> that fulfill all the rules.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17909\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro3.jpg\" alt=\"Example of filter in Google Anaytics with regular expressions\" width=\"500\" height=\"126\"><br \/>\nIf we wanted, following the previous example, to define filters that display data from pages whose URL matches \/, starts with \/en\/ or starts with \/blog\/, <strong>we could not do so without resorting to a regular expression<\/strong>. Because if we try to include the three options with the available logical operator &#8220;y&#8221;, the result would be an empty data table because no URL matches exactly with \/, starts with \/en\/ and \/blog\/ simultaneously.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17910\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro4.jpg\" alt=\"Example of a filter in Google Analytics\" width=\"500\" height=\"145\"><br \/>\nIn this case the solution would be the same regular expression already seen.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17911\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro5.jpg\" alt=\"Regular expression in Google Analytics\" width=\"500\" height=\"26\"><br \/>\nIn the filters of the customized reports we encounter the same problem, it only allows us to select the logical operator &#8220;y&#8221;. In addition, we only have the &#8220;Exact&#8221; and &#8220;Regular expression&#8221; comparators, so options such as &#8220;Contains&#8221; or &#8220;Starts with&#8221; disappear and <strong>force us to know how to use regular expressions if we want to configure a moderately advanced filter<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17912\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro6.jpg\" alt=\"Regular expressions in Google Analytics\" width=\"500\" height=\"126\"><\/p>\n<h2>Advanced segments<\/h2>\n<p>In the advanced segments we would not have the same problem to solve the query given as an example because we have the &#8220;or&#8221; operator (or &#8220;or else&#8221; as it is called in GA). Then we could solve it with the configuration that we can see in the following screenshot.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17914\" src=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/ejemplo-filtro7.jpg\" alt=\"Example of advanced segment without regular expressions\" width=\"500\" height=\"240\"><br \/>\nBut there are other options in the configuration of our GA account in which we can make use of regular expressions such as the definition of targets or content groupings.<\/p>\n<blockquote><p>Regular expressions are a basic tool that any analyst should know.<\/p><\/blockquote>\n<p>As you have seen in the examples presented in this article, knowing how these search patterns work makes it easier in some cases to configure certain queries and in other cases they are the only way to make them correctly. Therefore, regular expressions are a basic tool that any analyst should know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Non-technical people may not be familiar with the use of regular expressions. For those who are not familiar with them, regular expressions are sequences of characters that form search patterns. These search patterns are useful in many sections of Google Analytics as they allow us to have a given functionality run in a large number [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":45128,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[337],"tags":[416],"class_list":["post-52342","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-analytics","tag-seo-tools","entry"],"yoast_head":"\n<title>Use of regular expressions in Google Analytics<\/title>\n<meta name=\"description\" content=\"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.\" \/>\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.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use of regular expressions in Google Analytics\" \/>\n<meta property=\"og:description\" content=\"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\" \/>\n<meta property=\"og:site_name\" content=\"Human Level\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-02T07:25:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-16T14:16:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jose Vicente\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vicentesabuco\" \/>\n<meta name=\"twitter:site\" content=\"@humanlevel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jose Vicente\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\"},\"author\":{\"name\":\"Jose Vicente\",\"@id\":\"https:\/\/www.humanlevel.com\/en#\/schema\/person\/0054039a4ee43f8db760a3c06e790fe7\"},\"headline\":\"Use of regular expressions in Google Analytics\",\"datePublished\":\"2014-12-02T07:25:49+00:00\",\"dateModified\":\"2023-10-16T14:16:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\"},\"wordCount\":1132,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.humanlevel.com\/en#organization\"},\"image\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg\",\"keywords\":[\"SEO Tools\"],\"articleSection\":[\"Web Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\",\"url\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\",\"name\":\"Use of regular expressions in Google Analytics\",\"isPartOf\":{\"@id\":\"https:\/\/www.humanlevel.com\/en#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg\",\"datePublished\":\"2014-12-02T07:25:49+00:00\",\"dateModified\":\"2023-10-16T14:16:42+00:00\",\"description\":\"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage\",\"url\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg\",\"contentUrl\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg\",\"width\":400,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/www.humanlevel.com\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use of regular expressions in Google Analytics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.humanlevel.com\/en#website\",\"url\":\"https:\/\/www.humanlevel.com\/en\",\"name\":\"Human Level\",\"description\":\"Web positioning and online marketing consultant Human Level\",\"publisher\":{\"@id\":\"https:\/\/www.humanlevel.com\/en#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.humanlevel.com\/en?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.humanlevel.com\/en#organization\",\"name\":\"Human Level\",\"url\":\"https:\/\/www.humanlevel.com\/en\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.humanlevel.com\/en#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/logo-human-negro-1.jpg\",\"contentUrl\":\"https:\/\/www.humanlevel.com\/wp-content\/uploads\/logo-human-negro-1.jpg\",\"width\":268,\"height\":51,\"caption\":\"Human Level\"},\"image\":{\"@id\":\"https:\/\/www.humanlevel.com\/en#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/humanlevel\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.humanlevel.com\/en#\/schema\/person\/0054039a4ee43f8db760a3c06e790fe7\",\"name\":\"Jose Vicente\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.humanlevel.com\/en#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1aae1349c884b7f47ff65cde51a72ec784a2a8f8102ff630cd12aee0af765d78?s=96&d=simple_local_avatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1aae1349c884b7f47ff65cde51a72ec784a2a8f8102ff630cd12aee0af765d78?s=96&d=simple_local_avatar&r=g\",\"caption\":\"Jose Vicente\"},\"description\":\"Responsable del departamento de SEO y consultor en Human Level. Graduado en Ingenier\u00eda Inform\u00e1tica. Experto en SEO y anal\u00edtica web con certificaci\u00f3n en Google Analytics. Profesor del M\u00e1ster de SEO-SEM Profesional de Kschool.\",\"sameAs\":[\"https:\/\/x.com\/vicentesabuco\"],\"url\":\"https:\/\/www.humanlevel.com\/en\/author\/jose\"}]}<\/script>\n","yoast_head_json":{"title":"Use of regular expressions in Google Analytics","description":"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.","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.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics","og_locale":"en_US","og_type":"article","og_title":"Use of regular expressions in Google Analytics","og_description":"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.","og_url":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics","og_site_name":"Human Level","article_published_time":"2014-12-02T07:25:49+00:00","article_modified_time":"2023-10-16T14:16:42+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg","type":"image\/jpeg"}],"author":"Jose Vicente","twitter_card":"summary_large_image","twitter_creator":"@vicentesabuco","twitter_site":"@humanlevel","twitter_misc":{"Written by":"Jose Vicente","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#article","isPartOf":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics"},"author":{"name":"Jose Vicente","@id":"https:\/\/www.humanlevel.com\/en#\/schema\/person\/0054039a4ee43f8db760a3c06e790fe7"},"headline":"Use of regular expressions in Google Analytics","datePublished":"2014-12-02T07:25:49+00:00","dateModified":"2023-10-16T14:16:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics"},"wordCount":1132,"commentCount":0,"publisher":{"@id":"https:\/\/www.humanlevel.com\/en#organization"},"image":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage"},"thumbnailUrl":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg","keywords":["SEO Tools"],"articleSection":["Web Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics","url":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics","name":"Use of regular expressions in Google Analytics","isPartOf":{"@id":"https:\/\/www.humanlevel.com\/en#website"},"primaryImageOfPage":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage"},"image":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage"},"thumbnailUrl":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg","datePublished":"2014-12-02T07:25:49+00:00","dateModified":"2023-10-16T14:16:42+00:00","description":"Learn the importance and usefulness of using regular expressions in Google Analytics for a web analyst.","breadcrumb":{"@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#primaryimage","url":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg","contentUrl":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/expresiores-regulares-GA.jpg","width":400,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.humanlevel.com\/en\/blog\/web-analytics\/use-of-regular-expressions-in-google-analytics#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.humanlevel.com\/en"},{"@type":"ListItem","position":2,"name":"Use of regular expressions in Google Analytics"}]},{"@type":"WebSite","@id":"https:\/\/www.humanlevel.com\/en#website","url":"https:\/\/www.humanlevel.com\/en","name":"Human Level","description":"Web positioning and online marketing consultant Human Level","publisher":{"@id":"https:\/\/www.humanlevel.com\/en#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.humanlevel.com\/en?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.humanlevel.com\/en#organization","name":"Human Level","url":"https:\/\/www.humanlevel.com\/en","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.humanlevel.com\/en#\/schema\/logo\/image\/","url":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/logo-human-negro-1.jpg","contentUrl":"https:\/\/www.humanlevel.com\/wp-content\/uploads\/logo-human-negro-1.jpg","width":268,"height":51,"caption":"Human Level"},"image":{"@id":"https:\/\/www.humanlevel.com\/en#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/humanlevel"]},{"@type":"Person","@id":"https:\/\/www.humanlevel.com\/en#\/schema\/person\/0054039a4ee43f8db760a3c06e790fe7","name":"Jose Vicente","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.humanlevel.com\/en#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1aae1349c884b7f47ff65cde51a72ec784a2a8f8102ff630cd12aee0af765d78?s=96&d=simple_local_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1aae1349c884b7f47ff65cde51a72ec784a2a8f8102ff630cd12aee0af765d78?s=96&d=simple_local_avatar&r=g","caption":"Jose Vicente"},"description":"Responsable del departamento de SEO y consultor en Human Level. Graduado en Ingenier\u00eda Inform\u00e1tica. Experto en SEO y anal\u00edtica web con certificaci\u00f3n en Google Analytics. Profesor del M\u00e1ster de SEO-SEM Profesional de Kschool.","sameAs":["https:\/\/x.com\/vicentesabuco"],"url":"https:\/\/www.humanlevel.com\/en\/author\/jose"}]}},"_links":{"self":[{"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/posts\/52342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/comments?post=52342"}],"version-history":[{"count":1,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/posts\/52342\/revisions"}],"predecessor-version":[{"id":52847,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/posts\/52342\/revisions\/52847"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/media\/45128"}],"wp:attachment":[{"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/media?parent=52342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/categories?post=52342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.humanlevel.com\/en\/wp-json\/wp\/v2\/tags?post=52342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}