Mink Machine

Google Analytics and cookies

A few days after the launch of Google Analytics, the web is buzzing all over about it. Due to an unexpected amount of users the service was temporarily crippled, but now it seems to be up and running.

The good stuff? Well, it’s free! It also contains the basic functions one would expect.

However, there are a few things I don’t like. For start: cookies. The code from Google Analytics will send cookies that states the analysis domain as publisher. Here is an example of the cookies generated from one single page call:

Cookie examples Example of cookies set by Google Analytics.

This little snippet can be found at the usual agreement text: “Google Analytics’ JavaScript code was designed to be highly compatible with your website’s existing cookie usage. All Google Analytics cookie names begin with _utm to prevent any naming conflicts between our cookies and your own.”

This means that visitors to your Google Analytics-enabled site will receive cookies that seems to originate from your server, when it’s actually Google Analytics that stores them. Since there is a two-year-old law for all member states of the European Union that requires cookie-using sites to inform about the usage, this could make sites break the law even though they not use cookies! The issue here is about integrity. What will the cookies be used for? The expiry date is set to 2038, the same year as normal Google cookies.

Another thing is that the data is collected over a period of several hours before it’s available for analysis. This means that you can’t have a peek at who’s visited your site during the last hour. Apparently not a big issue to many, but I still feel it’s bit of a letdown.

Also, it relies on Javascript, which can be inactivated or unavailable depending on the user and browsing environment.

In short, it’s not that bad and I encourage you to try it for yourself. If you don’t like it, there are lots of other options such as server-side AWStats or Statcounter.

Related posts

1 comment

Post a comment

Your email address will not be published. Required fields are marked *

Featured stories

Vineyards of southern France

Vineyards of southern France

"Not far from Sauternes is the village of Saint-Émilion, also a famous wine region but what got me hooked was their impressive limestone caves."
On the Trans-Siberian

On the Trans-Siberian

"Since the toilets were locked during the seven hour stop, we had to bribe the provodnitsas to use the facilities. Then came the Mongols."
Chilling in Chile

Chilling in Chile

"My weary feet has reached Valparaiso. After almost a month of traveling across the South American continent I realize that this is as far south as I will come, due to weather conditions."
Getting lost in Yazd

Getting lost in Yazd

"Navigating on random while surrounded by staring old men, pointing their crooked fingers at the Godzilla Viking in surprise. It feels like I’m walking around in Mos Eisley."
Aliens in Nevada and New Mexico

Aliens in Nevada and New Mexico

"We turned around and went down another dirt road, past countless Joshua trees until our car was covered in dirt and we finally arrived at the Front Gate of Area 51."
I still love you, New York

I still love you, New York

"Now I’m back and our roles are somewhat reversed. Like River Song and the Doctor, we meet again under different circumstances."

Instagram

Seville
Venice
Gothenburg
Fever Ray
Rome
Basel
Singapore
Kuala Lumpur