Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I need to track the pageviews and goal completions for the Blogs section of my website, and I used to do this simply by searching the word "/blog/" under Content, which would pull all of our Blog pages that had the word "/blog/" in the URL and analyze the pages together in a group. The blog URLs were always something like www.mysite.com/blog/article1.

However, we recently changed our URL naming scheme and now all blog pages have URLs that look like www.mysite.com/community/article1. Since there's no word the two formats have in common, I can no longer do a simple search like I used to. How can I run some kind of report or filter that will pull the pageviews for both /blog/ pages and /community/ pages all at once? I tried making an advanced segment but it pulled weird pages that I didn't want at all.

Any help would be MUCHLY appreciated! Thanks in advance.

share|improve this question
3  
Have you tried advanced segment [Include] [Page] [Begins With] "/news/" Add 'OR' Statement [Include] [Page] [Begins With] "/community/"? –  milo5b Jul 23 '12 at 19:23
    
The advanced segment I created just had [Contains] instead of [Begins With]... but I've now tried it both ways, and either way it seems to be returning pages from totally different sections of the site that I do not want. Am I missing something? –  Swarthe Jul 23 '12 at 19:30
    
are you sure the rules are included and not excluded, and are bound with OR statement? What do you get as output? –  milo5b Jul 23 '12 at 20:37
    
The rules I specified are Include > Page > Begins With > /community/ OR Include > Page > Begins With > /blog/ The output includes the blog and community pages, but it also includes pages from totally different directories that don't even have blog or community in their URLs. –  Swarthe Jul 23 '12 at 20:54
add comment

1 Answer 1

Oops, after a brief research I've found out that advanced segment is apparently for sessions ( Custom Advanced Segment (based on URL) in Google Analytics not working properly? ). So any page that a person at some point have visited your /blog/ or /community/ section will be counted in, that's why the weird results. To get the result you want, create a "custom report". As you cannot use an OR condition there, you will need to enter a RegEx: ^/(blog|community)/.*$ Good stuff that you have asked your question, today I've learned something new!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.