13.07.2015 Views

ebook on regular expressions for Google Analytics - LunaMetrics

ebook on regular expressions for Google Analytics - LunaMetrics

ebook on regular expressions for Google Analytics - LunaMetrics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

not-very-wild cardsThe p Ipe|The pipe is the simplest of Regular Expressi<strong>on</strong>s, and it isthe <strong>on</strong>e that all Regular People (that’s you and me) shouldlearn. It means or .Here’s a simple example: Coke|Pepsi . A soft-drinkblog might use that expressi<strong>on</strong> with their <strong>Google</strong> <strong>Analytics</strong>keyword report to find all examples of searches that cameto their blog using either the keyword Coke or the keywordPepsi.Here’s another example: Let’s say you have two thankyoupages, and you need to roll them up into <strong>on</strong>e goal.The first <strong>on</strong>e is named thanks, and the sec<strong>on</strong>d is namedc<strong>on</strong>firmati<strong>on</strong>. You could create your goal like this:c<strong>on</strong>firmati<strong>on</strong>|thanksHere you can see a screen shot of a <strong>Google</strong> <strong>Analytics</strong> goal setupthat includes the two pages suggested above, with a pipe:That says, match either of those pages. Notice that the pipematches everything <strong>on</strong> either side of it.And where is the Pipe,anyway? Keyboardsdiffer, but you’ll mostlikely find it above yourEnter key.8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!