Skip to main content

Block Google from Click Tracking Web Search Results

Google Click tracking feature secretly tracks which URL on the web results page was clicked by the user. The Google Privacy policy states that Google use this click information to improve the quality of search technology, customized content and advertising.

Google is using this click data to refine their search results and pagerank based on which webpages are popular with users and which links are clicked most frequently by Google Users. Yet the Google Click Tracking feature has been a concern for many privacy advocates.

A normal web user is unaware that he is being redirected and the URL text shown in green on the Google search results page is very different from the page title URL that he just click. Google reformats the destination URL so that the click is redirected through Google servers.

How Google Tracks search clicks (or visits) ?

Google embeds a small javascript function in the search results page that redirects any user click via Google webservers.

function rwt(el,ct,cd,sg)
{
var e = window.encodeURIComponent ? encodeURIComponent:escape;
el.href="/url?sa=t&ct="+e(ct)+"&cd="+e(cd)+"&
url="+e(el.href).replace(/\+/g,"%2B")+"&ei=f3NCROGdD6f2qwKh8qT8BA"+sg;
el.onmousedown="";return true;
}

The above javacript rewrites a URL like http://labnol.blogspot.com to something like below:

http://www.google.com/url?sa=t&ct=res&cd=1& url=http%3A%2F%2Flabnol.blogspot.com%2F&ei=f3NCROGdD6f2qwKh8qT8BA &sig2=acgf-_t9eoqUbkKqkoFCfg

Clearly, the web searcher is not aware that he is actually clicking a different URL. Second if one wants to copy the destination URL to the clipboard by right clicking and saying "Copy Link Location" - all you get on the clipboard is this cryptic URL. Either wear lenses and remove all those geeky characters surrounding your URL or better, just copy the text in green on the Google web search results page and append http://.

If you're on Firefox, get the CustomizeGoogle plug-in and it blocks Google from tracking your click-through information. Here's what the extension does internally:
	
removeUrlClickTrack: function() {
var match = null;
var a = selectAllNodes(document,document.body,"//a");
for (var y=0; y< a.length; y++) {
match = a[y].href.match(/^(http:\/\/www\.google|\/url).
+?q=(http:[^&]+)/i);
if (match) { a[y].href = unescape(match[2]); }
a[y].onmousedown = function() { return true; }
}},
The logic is to take the Google URL if matches the form www.google.com/url and replace it with the value of URL parameter. Neat. It works.

Yahoo click tracking mechanism generates an even more complex web URL but it is much simpler - the URL is appended at the end of the URL.

Google Click tracking is anonymous and uses no cookies. It is also different from Google Search History which shows Personalized Search results.

Popular posts from this blog

How to Download Contacts from Facebook To Outlook Address Book

Facebook users are not too pleased with the "walled garden" approach of Facebook. The reason is simple - while you can easily import your Outlook address book and GMail contacts into Facebook, the reverse path is closed. There's no "official" way to export your Facebook friends email addresses or contact phone numbers out as a CSV file so that you can sync the contacts data with Outlook, GMail or your BlackBerry. Some third-party Facebook hacks like "Facebook Sync" (for Mac) and "Facebook Downloader" (for Windows) did allow you to download your Facebook friends' names, emails, mobile phone number and profile photo to the desktop but they were quickly removed for violation of Facebook Terms of Use. How to Download Contacts from Facebook There are still some options to take Friends data outside the walls of Facebook wall. Facebook offers the Takeout option allowing you to download all Facebook data locally to the disk (include

Digital Inspiration

Digital Inspiration is a popular tech blog by  Amit Agarwal . Our popular Google Scripts include  Gmail Mail Merge  (send personalized emails with Gmail ),  Document Studio (generate PDFs from Google Forms ) and   File Upload Forms ( receive files  in Google Drive). Also see  Reverse Image Mobile Search , Online Speech Recognition and Website Screenshots , the most useful websites on the Internet.

PhishTank Detects Phishing Websites by Digg Style Voting

OpenDNS, a free service that helps anyone surf the Internet faster with a simple DNS tweak , will announce PhishTank today. PhishTank is a free public database of phishing URLs where anyone can submit their phishes via email or through the website. The submissions are verified by the other community members who then vote for the suspected site. This is such a neat idea as sites can be categorized just based on user feedback without even having to manually verify each and every submission. PhishTank employs the "feedback loop" mechanism where users will be kept updated with the status' of the phish they submit either via email alerts or a personal RSS feed . Naturally, once the PhishTank databases grows, other sites can harness the data using open APIs which will remain free. OpenDNS would also use this data to improve their existing phishing detection algorithms which are already very impressive and efficient. PhishTank | PhishTank Blog [Thanks Allison] Related: Google