SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
ì	
  
Google	
  Analytics	
  
Regular	
  Expression	
  




                            If	
  so,	
  it’s	
  5me	
  for	
  you	
  to	
  learn	
  about	
  
                            Regular	
  Expressions	
  and	
  how	
  Google	
  
                            Analy5cs	
  uses	
  them.	
  




                                                   By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
  Google	
  Analytics	
  
   Regular	
  Expression	
  


In	
  Google	
  Analy5cs,	
  you	
  can	
  
use	
  Regular	
  Expressions	
  to	
  
create	
  filters.	
  Many	
  filters	
  require	
  Regular	
  Expressions.	
  If	
  you	
  don’t	
  know	
  
what	
  filters	
  are,	
  you	
  can	
  start	
  learning	
  about	
  them	
  here.	
  
	
  
create	
  one	
  goal	
  that	
  matches	
  mul5ple	
  goal	
  pages.	
  Perhaps	
  your	
  “thank	
  you”	
  
page	
  has	
  many	
  names,	
  but	
  to	
  you,	
  all	
  leads	
  are	
  the	
  same	
  	
  
goal.	
  So	
  you	
  can	
  use	
  Regular	
  Expressions	
  to	
  “roll	
  them	
  up.”	
  
	
  
fine-­‐tune	
  your	
  funnel	
  steps	
  so	
  that	
  you	
  can	
  get	
  exactly	
  what	
  you	
  need.	
  
Remember,	
  Regular	
  Expressions	
  can	
  be	
  specific.	
  


                                                                        By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
 Google	
  Analytics	
  
  Regular	
  Expression	
  


Start	
  a	
  Regular	
  Expressions	
  
            A	
  Backslash	
  “”	
  	
  
  1st	
     A	
  backslash	
  “escapes”	
  a	
  character	
  
            If	
  Goal	
  URL	
  is	
  /folder?pid=123	
  
            	
  
            How	
  to	
  
            The	
  	
  ques5on	
  mark	
  already	
  has	
  
            another	
  use	
  in	
  Regular	
  Expression	
  
            rule.	
  
            We	
  can	
  do	
  it	
  like	
  this:	
  /folder?
            pid=123	
  



                                                                  By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
    Google	
  Analytics	
  
      Regular	
  Expression	
  


	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  The	
  pipe	
  (tube)	
  “|”	
  is	
  the	
  simplest	
  	
  of	
  	
  
	
  	
  2nd	
  	
  	
  	
  	
  	
  	
  Regular	
  Expressions	
  User	
  for	
  a	
  Goal	
  	
  	
  	
  
        	
  	
  	
  	
  	
  	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Set1	
  or	
  Set2.	
  	
  (|	
  =	
  OR)	
  
	
  
Example	
  
Coke|Pepsi	
  is	
  mean	
  Google	
  Analy5cs	
  	
  	
  
keyword	
  report	
  to	
  find	
  all	
  examples	
  
of	
  searches	
  that	
  came	
  to	
  their	
  blog	
  	
  
using	
  either	
  the	
  keyword	
  Coke	
  or	
  the	
  	
  
keyword	
  Pepsi.	
  	
  




                                                                                                                                  By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
   Google	
  Analytics	
  
    Regular	
  Expression	
  


	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  dot	
  “.”	
  Matches	
  any	
  single	
  character	
  	
  
	
  	
  3rd	
  	
  	
  	
  	
  	
  	
  (le^er,	
  number	
  or	
  symbol)	
  
        	
  	
  	
  	
  	
  	
  
	
  
Example	
  
Place	
  "."	
  everywhere	
  with	
  regular	
  expression	
  
.ate	
  it	
  will	
  match	
  late,	
  date,	
  sate,	
  or	
  any	
  four-­‐character	
  expression	
  
Expression	
  Condi3on	
  
input	
  google.com	
  it	
  will	
  match	
  google4com,	
  googlescom,	
  googledcom	
  
if	
  you	
  need	
  to	
  find	
  google.com	
  only	
  you	
  will	
  used	
  expression	
  like	
  
"google.com"	
  




                                                                                                                      By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
   Google	
  Analytics	
  
    Regular	
  Expression	
  


	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  Dollar	
  sign	
  “$”	
  in	
  regular	
  expressions	
                       A	
  Caret	
  “^”	
  in	
  regular	
  expressions	
  
                                                                                                                         5th	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  $	
  Match	
  to	
  the	
  end	
  of	
  the	
  field	
  
       4th	
                                                                                                                          Requires	
  that	
  your	
  data	
  be	
  at	
  the	
  
                                                                                                                                      beginning	
  of	
  its	
  field	
  
	
  
Example	
                                                                                                             Example	
  
suppose	
  you	
  have	
  some	
  pages	
  that	
  end	
  in	
                                                        ^site	
  matches	
  sitewhat	
  but	
  not	
  mysite	
  
"htm"	
  and	
  others	
  in	
  "html."	
                                                                             Expression	
  Condi3on	
  
Expression	
  Condi3on	
                                                                                              If	
  you	
  need	
  to	
  find	
  Goal	
  URL	
  "subfolder2/"	
  
site$	
  matches	
  ending	
  with	
  site	
  	
                                                                      in	
  "/folder1/subfolder2/index.html"	
  
but	
  not	
  sitescan	
  	
                                                                                          use	
  regular	
  expressions	
  "^/subfolder2"	
  it	
  
                                                                                                                      will	
  match	
  "subfolder2/index.html"	
  
                                                                                                                         can	
  used	
  "^/subfolder2/index.html"	
  
                                                                                                                                                	
  

                                                                                                                                   By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
   Google	
  Analytics	
  
    Regular	
  Expression	
  

              The	
  Star	
  "*"	
  in	
  Regular	
  Expressions	
                The	
  Dot	
  Star	
  ”.*”	
  There	
  are	
  two	
  
  6th	
       Matches	
  zero	
  or	
  more	
  of	
  the	
             7th	
      Regular	
  Expressions	
  that,	
  when	
  put	
  
              previous	
  item	
                                                  together	
  

Example	
                                                              Example	
  
The	
  default	
  previous	
  item	
  is	
  the	
  previous	
          use	
  "/XXX/.*index.php"	
  It	
  will	
  match	
  
character.	
  	
                                                       everything	
  that	
  starts	
  with	
  XXX/	
  and	
  ends	
  
“goo*gle”	
  It	
  will	
  matches	
  gooogle,	
                       with	
  index.php	
  
goooogle,	
  goooooooooogle	
  
Expression	
  Condi3on	
  
The	
  previous	
  item	
  is	
  defined	
  as	
  the	
  
previous	
  character	
  
aa*rgh.	
  That	
  will	
  match	
  aargh	
  and	
  aaargh	
  
and	
  aaaaaaaaargh	
  
	
  
                                                                                 By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
    Google	
  Analytics	
  
     Regular	
  Expression	
  

                A	
  Plus	
  Sign	
  "+"	
  matches	
  one	
  or	
                            Grouping	
  
                more	
  of	
  the	
  former	
  items,	
  which,	
  as	
                        Parentheses	
  “()”	
  in	
  Regular	
  
    8th	
                                                                         9th	
  
                usual,	
  we’ll	
  assume	
  is	
  the	
  previous	
                           Expressions	
  work	
  the	
  same	
  way	
  
                character	
                                                                    that	
  they	
  do	
  in	
  mathema5cs	
  
  Just	
  like	
  a	
  star,	
  except	
  that	
  a	
  plus	
  sign	
  must	
                  Use	
  parenthesis	
  to	
  create	
  an	
  
           match	
  at	
  least	
  one	
  previous	
  item	
                                   item,	
  instead	
  of	
  accep5ng	
  the	
  
                                                                                               default	
  
Example	
                                                                                      	
  
“gooo+gle”	
  matches	
  goooogle,	
  but	
  never	
  google.	
                       Example	
  
                                                                                      Thank(s|you)	
  will	
  match	
  both	
  Thanks	
  
                                                                                      and	
  Thankyou	
  
                                                                                      "/folder(one|two)/thank"	
  It	
  will	
  Match	
  
                                                                                      /foldertwo/thanks	
  
                                                                                      /folderone/thank	
  
                                                                                      	
  

                                                                                            By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
    Google	
  Analytics	
  
     Regular	
  Expression	
  

               Grouping	
                                                            Example	
  
  10th	
        square	
  brackets	
  "[]"	
  and	
  dash	
  "-­‐"	
  or	
           [a-­‐z]	
  –	
  all	
  lower-­‐case	
  le^ers	
  in	
  the	
  English	
  
                "[-­‐]”	
  ,use	
  brackets	
  to	
  create	
  a	
  list	
  of	
     alphabet	
  
                items	
  to	
  match	
  to,	
  like	
  [abc]	
  creates	
            [A-­‐Z]	
  –	
  all	
  upper-­‐case	
  le^ers	
  in	
  the	
  English	
  
                a	
  list	
  with	
  a,	
  b	
  and	
  c	
  in	
  it	
               Alphabet	
  
                                                                                     [a-­‐zA-­‐Z0-­‐9]	
  –	
  all	
  lower-­‐case	
  and	
  upper-­‐
Use	
  dashes	
  "-­‐"	
  with	
  brackets	
  to	
  extend	
  your	
                 case	
  le^ers,	
  and	
  digits.	
  	
  
list,	
  like	
  [A-­‐Z]	
  creates	
  a	
  list	
  for	
  the	
  uppercase	
  
English	
  alphabet	
  
  Note	
  they	
  are	
  not	
  separated	
  by	
  commas.	
  




                                                                                             By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
    Google	
  Analytics	
  
     Regular	
  Expression	
  

              Not	
  in	
  a	
  Document	
  
  11th	
       Braces	
  “{}”	
  repeat	
  the	
  last	
  “piece”	
  
               of	
  informa5on	
  a	
  specific	
  number	
  of	
  
               5mes.	
  
such	
  as	
  {x,y},	
  it	
  means,	
  repeat	
  the	
  last	
  “item”	
     Braces	
  are	
  not	
  covered	
  in	
  the	
  Google	
  
at	
  least	
  x	
  5mes	
  and	
  no	
  more	
  than	
  y	
  5mes	
          Analy5cs	
  documenta5on,	
  but	
  they	
  are	
  
                                                                              supported	
  	
  
Example	
  
IP	
  address	
  –	
  they	
  ouen	
  have	
  a	
  block	
  of	
  
numbers.	
  So	
  let’s	
  say	
  that	
  	
  
their	
  IP	
  addresses	
  go	
  from	
  123.145.167.0	
  
through	
  123.145.167.99	
  
Used:	
  123.145.167.[0-­‐9]{1,2}	
  


                                                                                     By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  
ì	
  
Google	
  Analytics	
  
Regular	
  Expression	
  




                            Thank	
  You	
  for	
  A^en5on	
  




                                               By	
  @daydev	
  –	
  Banyapon	
  Poolsawasd	
  

Mais conteúdo relacionado

Último

IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 

Último (20)

IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
20150722 - AGV
20150722 - AGV20150722 - AGV
20150722 - AGV
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 

Destaque

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Destaque (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Google Analytics - Regular Expression

  • 1. ì   Google  Analytics   Regular  Expression   If  so,  it’s  5me  for  you  to  learn  about   Regular  Expressions  and  how  Google   Analy5cs  uses  them.   By  @daydev  –  Banyapon  Poolsawasd  
  • 2. ì   Google  Analytics   Regular  Expression   In  Google  Analy5cs,  you  can   use  Regular  Expressions  to   create  filters.  Many  filters  require  Regular  Expressions.  If  you  don’t  know   what  filters  are,  you  can  start  learning  about  them  here.     create  one  goal  that  matches  mul5ple  goal  pages.  Perhaps  your  “thank  you”   page  has  many  names,  but  to  you,  all  leads  are  the  same     goal.  So  you  can  use  Regular  Expressions  to  “roll  them  up.”     fine-­‐tune  your  funnel  steps  so  that  you  can  get  exactly  what  you  need.   Remember,  Regular  Expressions  can  be  specific.   By  @daydev  –  Banyapon  Poolsawasd  
  • 3. ì   Google  Analytics   Regular  Expression   Start  a  Regular  Expressions   A  Backslash  “”     1st   A  backslash  “escapes”  a  character   If  Goal  URL  is  /folder?pid=123     How  to   The    ques5on  mark  already  has   another  use  in  Regular  Expression   rule.   We  can  do  it  like  this:  /folder? pid=123   By  @daydev  –  Banyapon  Poolsawasd  
  • 4. ì   Google  Analytics   Regular  Expression                              The  pipe  (tube)  “|”  is  the  simplest    of        2nd              Regular  Expressions  User  for  a  Goal                                                    Set1  or  Set2.    (|  =  OR)     Example   Coke|Pepsi  is  mean  Google  Analy5cs       keyword  report  to  find  all  examples   of  searches  that  came  to  their  blog     using  either  the  keyword  Coke  or  the     keyword  Pepsi.     By  @daydev  –  Banyapon  Poolsawasd  
  • 5. ì   Google  Analytics   Regular  Expression                              dot  “.”  Matches  any  single  character        3rd              (le^er,  number  or  symbol)                 Example   Place  "."  everywhere  with  regular  expression   .ate  it  will  match  late,  date,  sate,  or  any  four-­‐character  expression   Expression  Condi3on   input  google.com  it  will  match  google4com,  googlescom,  googledcom   if  you  need  to  find  google.com  only  you  will  used  expression  like   "google.com"   By  @daydev  –  Banyapon  Poolsawasd  
  • 6. ì   Google  Analytics   Regular  Expression                              Dollar  sign  “$”  in  regular  expressions   A  Caret  “^”  in  regular  expressions   5th                                $  Match  to  the  end  of  the  field   4th   Requires  that  your  data  be  at  the   beginning  of  its  field     Example   Example   suppose  you  have  some  pages  that  end  in   ^site  matches  sitewhat  but  not  mysite   "htm"  and  others  in  "html."   Expression  Condi3on   Expression  Condi3on   If  you  need  to  find  Goal  URL  "subfolder2/"   site$  matches  ending  with  site     in  "/folder1/subfolder2/index.html"   but  not  sitescan     use  regular  expressions  "^/subfolder2"  it   will  match  "subfolder2/index.html"   can  used  "^/subfolder2/index.html"     By  @daydev  –  Banyapon  Poolsawasd  
  • 7. ì   Google  Analytics   Regular  Expression   The  Star  "*"  in  Regular  Expressions   The  Dot  Star  ”.*”  There  are  two   6th   Matches  zero  or  more  of  the   7th   Regular  Expressions  that,  when  put   previous  item   together   Example   Example   The  default  previous  item  is  the  previous   use  "/XXX/.*index.php"  It  will  match   character.     everything  that  starts  with  XXX/  and  ends   “goo*gle”  It  will  matches  gooogle,   with  index.php   goooogle,  goooooooooogle   Expression  Condi3on   The  previous  item  is  defined  as  the   previous  character   aa*rgh.  That  will  match  aargh  and  aaargh   and  aaaaaaaaargh     By  @daydev  –  Banyapon  Poolsawasd  
  • 8. ì   Google  Analytics   Regular  Expression   A  Plus  Sign  "+"  matches  one  or   Grouping   more  of  the  former  items,  which,  as   Parentheses  “()”  in  Regular   8th   9th   usual,  we’ll  assume  is  the  previous   Expressions  work  the  same  way   character   that  they  do  in  mathema5cs   Just  like  a  star,  except  that  a  plus  sign  must   Use  parenthesis  to  create  an   match  at  least  one  previous  item   item,  instead  of  accep5ng  the   default   Example     “gooo+gle”  matches  goooogle,  but  never  google.   Example   Thank(s|you)  will  match  both  Thanks   and  Thankyou   "/folder(one|two)/thank"  It  will  Match   /foldertwo/thanks   /folderone/thank     By  @daydev  –  Banyapon  Poolsawasd  
  • 9. ì   Google  Analytics   Regular  Expression   Grouping   Example   10th   square  brackets  "[]"  and  dash  "-­‐"  or   [a-­‐z]  –  all  lower-­‐case  le^ers  in  the  English   "[-­‐]”  ,use  brackets  to  create  a  list  of   alphabet   items  to  match  to,  like  [abc]  creates   [A-­‐Z]  –  all  upper-­‐case  le^ers  in  the  English   a  list  with  a,  b  and  c  in  it   Alphabet   [a-­‐zA-­‐Z0-­‐9]  –  all  lower-­‐case  and  upper-­‐ Use  dashes  "-­‐"  with  brackets  to  extend  your   case  le^ers,  and  digits.     list,  like  [A-­‐Z]  creates  a  list  for  the  uppercase   English  alphabet   Note  they  are  not  separated  by  commas.   By  @daydev  –  Banyapon  Poolsawasd  
  • 10. ì   Google  Analytics   Regular  Expression   Not  in  a  Document   11th   Braces  “{}”  repeat  the  last  “piece”   of  informa5on  a  specific  number  of   5mes.   such  as  {x,y},  it  means,  repeat  the  last  “item”   Braces  are  not  covered  in  the  Google   at  least  x  5mes  and  no  more  than  y  5mes   Analy5cs  documenta5on,  but  they  are   supported     Example   IP  address  –  they  ouen  have  a  block  of   numbers.  So  let’s  say  that     their  IP  addresses  go  from  123.145.167.0   through  123.145.167.99   Used:  123.145.167.[0-­‐9]{1,2}   By  @daydev  –  Banyapon  Poolsawasd  
  • 11. ì   Google  Analytics   Regular  Expression   Thank  You  for  A^en5on   By  @daydev  –  Banyapon  Poolsawasd