Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only show Google Analytics for my live domain

In my google analytics account it is showing data from my local testing server. I've also got a fairly popular tutorial/demonstration on my site, that people copy the whole source code and put on there site without removing my google tracking code. So i'm getting info about their traffic.

I've had a look through the settings and couldn't find anything relevant. Is there some sort of filter I can apply to show more accurate results.

Thanks, Paul

like image 935
Paul Mason Avatar asked Jul 27 '11 00:07

Paul Mason


1 Answers

You can use an include filter.

Filter type: custom -> include

Filter field: Hostname

Filter pattern: yourdomain\.com

Case sensitive: no

Note that you can have multiple excludes filters but only one include filter per profile.

And, you should always create a different profile for filters. Keep a separate raw profile with no filters.

like image 156
jk. Avatar answered Apr 28 '23 10:04

jk.