Website Analytics - Tracking and Logging Forum

Recently I am working on a client's site. Some on page work was already done and the Google Analytics code already installed.

But suddenly I discovered that the client is using an analytics code that is present in 3 other sites. Means 4 of the client's sites are using same code.

I am surprized after I noticed that. Generally I know through one analytics ID we can handle multiple web sites in it, but each and every site should be separately added and should have separate accounts. never heard that one analytics code can be used in more than one site.

It does pollute your Google Analytics, as standard reports will show aggregate data instead of data per site. This can severely hinder you in analysing each site's performance and gain insights in to what you need to improve.

You can work around this without putting new tracking codes on each site by creating a separate profile in Google Analytics for each site, and apply a filter to each to only count traffic to a specific domain name.

For example if you have site1.com, site2.com, etc, all using the same tracking code, you set up a different profile in GA for each site. Then for the profile for site1.com, you build a filter:

Alexei, I'm not sure that predefined filter will work. I believe that filter refers to traffic source, not the on-site traffic. With that predefined filter you can exclude or include visitors from specific domains & IP addresses, so you can filter out visitors from your own company network for example.