How to stop pirate sites affecting your Analytics

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 Type include
Filter Field hostname
Filter Pattern yourdomain.com
Case Sensitive no

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.

Other recent posts

How to stop pirate sites affecting your Analytics

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 [...]

Our scrolling background effect

We’ve had a lot of questions regarding the background effect on our new site – so I thought I’d explain how it works, to save you the trouble of picking through the source code. Feel free to base your own designs on this technique, but don’t just straight up copy our code and images – [...]

The new YouLoveUs site launches

After weeks of late nights, Tetley tea, cans of Monster blue and the most phenomenal BLTs this side of New York; we’re overwhelmingly pleased to announce the launch of the new youlove.us web site. With the previous version garnering so much interest and appreciation we were keen to retain as much of the creativity and [...]

Looking after your clients

On Valentine’s Day one of our main print suppliers (rwp) send us this adorable card and the simple brilliance of it struck a chord with me. Not only did the personal touch pique my interest but in a reasonably subtle way, the card was also advertising their services: On the back of the card they [...]

The great office move of 2009

We are delighted to announce that we have now taken up residence in our new office in Chichester – the move took place halfway through January, and went off without a hitch! At the end of 2008, it was becoming evident that where we were, while lovely, was being rapidly outgrown (especially given some of [...]

Web design internships

We are currently looking into setting up an internship programme early next year, which would take place at our expanding studio in Chichester, West Sussex, UK. At present, we are conducting a feasibility study on this subject, and would therefore love to hear from anyone who’d be interested in working with a vibrant, dynamic team [...]

Processes and PageRank

When we were developing the youlove.us web site, our decision making was guided by some simple tenets; we wanted to create a presence that would showcase our business in the best possible light, and become a talking point within the wider design community. As the medium has grown in stature in recent times, the bar [...]

The new YouLoveUs site launches!

We’ve been working ourselves into the ground recently (on top of huge amounts of client work) in order to get this site live, so I haven’t much time left today to write the full write-up I was hoping with regard to this design. I will however elaborate on it tomorrow. As we’re a new company [...]

We love Smashing Magazine and all of you!

We each of us have had sites that we’ve created in the past become the subject of a handful of showcase web sites, but none of us have ever experienced, or even witnessed a response as phenomenal as the youlove.us web site has received. As Alex mentioned earlier, the site made a huge leap from [...]