Forum Moderators: DixonJones

Message Too Old, No Replies

GA support for complex searches in Top Content?

         

awhinston

6:48 pm on Jul 14, 2008 (gmt 0)

10+ Year Member



Has anyone used complex searches (and, or, +, -, etc...) in Google Analytics Top Content - either in the URL or Page Title view?

I've been trying different approaches and can't seem to get it to work.

For example, I want to see all URL's that contain BOTH the character strings 'blog' AND '2008'. Thanks!

Scott_F

2:57 pm on Jul 15, 2008 (gmt 0)

10+ Year Member



awhinston,

The content search box uses regular expressions (regex), not the boolean commands you expected. Regex can be nasty to learn, and lord knows I'm far from an expert.

For the specific example of matching two different strings, you could do something like this:

If the words always appear in the same sequence ("blog" first):
blog.*2008

If the words could appear in any order:
blog.*2008¦2008.*blog

The .* is a wildcard, representing any character(s). The ¦ is an "or" symbol.

Hope this helps. Hopefully somebody with more regex expertise than I will have a more comprehensive response.

[edited by: Scott_F at 3:03 pm (utc) on July 15, 2008]

awhinston

6:13 pm on Jul 15, 2008 (gmt 0)

10+ Year Member



This is a big help. I had no idea regex even existed. Thanks!