0

I am using CYFE app to view my Google Analytics.

I'd like to filter only traffic coming to my 'blog' subfolder. So I need to filter only traffic that comes to domain.com/blog

CYFE is asking to input the filter in the following query example: ga:country==United States

I'm trying to look through GA filters and docs to see if I can find a filter query to include only blog subfolder, but I just can't seem to find anything like it.

What should I be putting in in this case?

0

1 Answer 1

1

From your example domain.com/blog
and the CYFE query example given ga:country==United States

You are looking to match the ga page dimension for the blog subdirectory.
Which would be ga:page=~\/blog(\/)?.*$

This should match to
/blog
/blog/
/blog/otherstuffintheblogsubdir

Ref: https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters

1
  • Legend, thank you so much, let me try it out, I'll report back.
    – Joe Bloggs
    Commented May 31, 2020 at 1:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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