Ashley Briscoe
Ashley Briscoe

Reputation: 737

Setting up sub domain include filter in google analytics

I am trying to set up a sub domain include filter in google analytics. I am a little confused about how to write the filter pattern for my sub domain which is going to be www.somesite.com/de

All of the tutorials show it set up like this: sub1.website.com. but my url structure is different. Am I missing the point here any help appreciated.

Here is a screen of what I am trying to set up:

Screen of include sub domain filter set up

Upvotes: 0

Views: 3601

Answers (2)

Ashley Briscoe
Ashley Briscoe

Reputation: 737

The confusion here was the terminology being used. I was being asked to set up sub domain tracking when our developer was using sub directories for our different countries websites.

I have now set up filters on each of the sub directories. Here is an example of a filter to include only traffic to the sub directory /at

sub directory filter

Upvotes: -1

TomFuertes
TomFuertes

Reputation: 7270

You'll need two separate filters to accomplish this.

HostName Filter

Request URI Filter

Source: Custom Filter Fields

Upvotes: 2

Related Questions