Exclude traffic from directory – Analytics Integrations | Google Groups

I have two profiles on my site that I want to separately monitor in Google Analytics.

Profile A: The entire site: http://www.mysite.nl
Profile B: One certain directory on my site: http://www.mysite.nl/mydir/

Profile A should not include traffic from the subdirectory /mydir/ and
Profile B should not gather any information but in the directory mydir.

There are two solutions:

For Profile A:
create a ‘custom filter’:
‘exclude’
Filter Field: Request URI
Filter Pattern: ^/mydir/

For Profile B:
create a ‘custom filter’:
‘include’
Filter Field: Request URI
Filter Pattern: ^/mydir/

or

(For Profile B:)
create filter:  ‘include only traffic from a subdirectory’
Subdirectory: ^/mydir/

Source : Groups Google

Posted in Google Analytics and tagged , .

Leave a Reply