Keeping your Google Analytics data clean

Keep it clean! How well is Google Analytics measuring your professional service firm’s web traffic?


When you report website metrics out of Google Analytics to a marketing committee or general manager at your firm how much confidence do you have in the data? Did you really experience a big lift in Users last month or was this based on bad data?

Here are 4 things you should be doing to keep your lawfirm or accountancy firm’s website analytics data clean, in order of importance.

Exclude internal staff from your website analytics

You’ve only got a few internal staff versus tens of thousands of visitors so that shouldn’t make much difference, right?

WroSetting up a filter in Google Analytics to exclude staffng. Internal staff can have a big impact on certain kinds of high value activity on your website that you are particularly interested in, like someone contacting a lawyer (your staff may use your website just like they use the internal phone directory).

In addition we’ve come across firms where IT has configured all web browsers to open by default on the firm’s home page – imagine what that does to figures like Bounce Rate (people who visit one page and leave).

Because of the above we’ve found firms where internal traffic is 10% or more of their visits.

At least set up a filter to exclude internal IP addresses (or have us do it) and remember to update the filter when you add a new office or change your network configuration or ISP.

Turn on GA’s new(ish) built-in robot filtering option

Unless you’ve been living under a rock you’ll be unsurprised to hear that not everything on the internet is what it seems to be.Excluding robots in Google Analytics

Google Analytics, because it is javascript-based, is designed to execute only for real visitors, people who are using a browser to look at web pages.

But even so there are automated bots out there that are designed to crawl sites and may imitate real people.

Google now includes a setting to filter out known spiders based on the IAB/ABC spiders and robots service and automatically filters out thousands of known IP addresses and browser types belonging to spiders that may impact your Google Analytics data (updated monthly).

Just click the checkbox.

Reduce (ghost) referral spam

Looked at your referring sites report lately? Many people do, which is why some enterprising spammers decided that if they inserted their website in your referral list you might visit it to see what the site was.

Even better, Google Analytics has an API so they could generate a random website universal analytics ID number to insert their own website as a referral to yours.

Some of the more common ones that we end up filtering out in client reports Removing fake referrals in Google Analyticsinclude sites like “event-tracking”, “burn-fat”, “sellingcrossing”, “monetizer”, “button” sites of various kinds, etc.

These fake referral visits have certain kinds of characteristics, they will often visit the home page, pages/session is usually just one page, and more usefully for our purposes they will not come in with your hostname (domain name) as they rely on a randomly generated GA id number.

So by creating a filter that requires the incoming browser to be requesting your hostname (part of your domain name) you can exclude a lot of these.

Be a little careful with this option however.

You may have subdomains or payment steps or translation tools or even legitimate 3rd party sites (like Mondaq) which have different hostnames. So check existing hostnames that appear in your GA reporting first (or talk to us about implementing this).

It is always a good idea to have Views in Google Analytics where you can test filter implementations – data once filtered out (incorrectly) is gone forever.

Not all Direct or Referral traffic is what it says on the tin

When reporting particular kinds of traffic to your law firm marketing committee be aware of the definitions of traffic.

A common problem we see is law firms sending out newsletters without setting them up to be tracked in Google Analytics. Yes, you may be using MailChimp (or the equivalent) and be able to track clicks in that system but you also want to be able to track clicks in Google Analytics because it has a more all encompassing view of the world than MailChimp. For example good GA report writing will help you identify not just the first click from an email but also where the reader has forwarded that web page of yours (originally sent out via your newsletter) to someone else.

Poor newsletter setup by contrast will see all your newsletter traffic show up as unattributed Direct traffic in Google Analytics.

And poor Google Analytics setup will also see your blog subsite or client extranet showing up as external Referral traffic when you may not wish it to for reporting purposes.

It’s beyond the scope of this article (talk to us about GA Enrich) to cover the change to your marketing internal process to correctly label and distinguish newsletters or merge subsites into your GA results – but it should be done.

Photo by go_greener_oz