Quantcast
Channel: YouLoveUs
Viewing all articles
Browse latest Browse all 9

How to stop pirate sites affecting your Analytics

$
0
0

We recently discovered that not only had someone copied our entire site design and code, they hadn’t even bothered to change the tracking code, so their hits were being counted in our Google Analytics account, which was making a mess of our reports.

The workaround was fairly simple, all we had to do is add a custom ‘include’ filter on the profile settings page within Analytics.

The code you need

Simply add a ‘Custom filter’ with the following settings:

Filter Typeinclude
Filter Fieldhostname
Filter Patternyourdomain.com
Case Sensitiveno

Don’t forget to escape the dots in your domain name with a backslash, as this string will be parsed as a Regular Expression by Google, and an un-escaped . character will match any character.


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images