Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Tracking Multiple Domains with Custom Filter

Google Analytics advanced mode



2:49 pm on Jan 28, 2010 (gmt 0)

5+ Year Member

Tracking code was added to multiple domains, i.e. myexamplewidget.com, myexamplewidget.de, myexamplewidget.fr.

I can see that Google successfully tracks pages from those 3 domains in the major profile.

Now I'm creating a new profile for .fr and .de. And I'm also creating an Advanced Filter, in the following format:

Filter Type : Custom filter > Advanced
Field A : Hostname Extract A : (.*)
Field B : Request URI
Extract B : (.*)
Output To : Request URI
Constructor : $A1$B1

However, as I'm not sure where should I put the URL of the local domain. In the (.*)? I.e. how the filter know I want to track only pages from myexamplewidget.fr.

I'm using this GA topic as a guide:


11:23 am on Feb 10, 2010 (gmt 0)

5+ Year Member

Anyone to help me figure it out?


5:07 pm on Feb 10, 2010 (gmt 0)

5+ Year Member

This Google Ad Planner help topic might be of use: [google.com ]

It helped me set up a custom filter for separating out the traffic to two different domain names that were using identical GA tracking codes.


8:45 am on Feb 12, 2010 (gmt 0)

5+ Year Member

Yes, and here's the solution:

Thank again, Adamus.