Mobile app version of vmapp.org
Login or Join
Merenda212

: Google Analytics Filters not removing traffic from other domain We have a frustrating problem where someone copied our site code including our Google Analytics code. So we are getting stats logged

@Merenda212

Posted in: #Analytics #Domains #GoogleAnalytics #WebHosting

We have a frustrating problem where someone copied our site code including our Google Analytics code. So we are getting stats logged from their site which is very frustrating.

I have setup 4 Filters, each trying to disallow any traffic from this other website, but still their traffic is being shown, including on the Real Time section.

Do Filters even work to exclude traffic? Here is how I have it setup:




Neither of these seem to help at all.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

For our sites we usually take the opposite approach and instead of excluding traffic to hosts we define an include filter with the hostname we want to collect statistics for.

To do this we use a Custom Include Filter against the Hostname field and with a filter pattern of hostname.tld.

Here is a screen capture showing the appropriate settings which work for us:



On a related note, we also usually define a couple of other filters. One to force the URI to lowercase so that uris like /Page.html and /page.html just show up once in our reports and the other to exclude internal traffic from our offices based off IP addresses.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme