Sec, blogmal! - tidbits - google-tracking



Juli '14



Flattr me:

Flattr this

Mon, 05 Sep 2005

Google tracks clicks.

After a discussion with a friend a few days ago, who claimed that google was tracking every click on its search result pages, I took a closer look.

Try the following:

  • Search for something in google. (e.g. blogmal)
  • Hover over a search result (do not click), and look at the URL in the statusbar.
  • Click (and hold) your (left) mousebutton, and watch the statusbar.

It turns out, Google returns its links in the form:

<a href=""
onmousedown="return rwt(this,'res','2','')">

where the rwt() function is defined in the header of that page:

function rwt(el,ct,cd,sg){
  el.href="/url?sa=t" +
	"&ei=eDMcQ5uFIcHiiALL4pzuDg"+ sg;
 return true;

They redefine the URL on click in an ugly attempt to hide what they are doing.

If you want to get an idea know how many of your links google already tracked, enter in your (firefox) address bar, and wait for the autocompletion menu to show up.

Well. Time to look into greasemonkey, I've got to turn this off.

EDIT: The needed greasemonkey user script is here. Click on that link, then select Tools|Install this user script. (thanks to Nick)

– Sec

Note: If you use a localized google version (e.g ) use that one instead of .com to check.

posted at: 15:07 | Category: /tidbits | permanent link to this entry | 2 comments (trackback)

Your Comment
URL/Email: [http://... or mailto:you@wherever] (optional)
Title: (optional)
Save my Name and URL/Email for next time
(Note that comments will be rejected unless you enter 42 in the following box: )

powered by blosxom
in 0.00 s