Google magnifying glass | block tip

After Google had implemented the magnifying glass preview, there were a boom of visits but if you do not want to count those visits as “real” visits…

Here is a tip to block Google magnifying glass preview:

<?php if ($_SERVER['HTTP_ACCEPT_LANGUAGE']) {?>

… piwik tracking code

<?php } ?>

It is a simple trick to block it, if you have better ideas please share.

@ PedroDM
admin: jobs.mowster.net

We have a server-side fix that excludes the visit by user-agent. (Coming in Piwik 1.1)