Comment Re:You can already do this with Javascript (Score 1) 575
But sites like google use this sort of tracking anyway. They create the link as normal, then "onClick" they do a "this.href=..." to change the url to a google page for tracking + search history etc.
For thoes sites which dont use JS, they point to a redirect script, and use links like "/redirect/?src=http://www.google.com" - where the "src" is validated (unless the dev is an idiot).
For thoes sites which dont use JS, they point to a redirect script, and use links like "/redirect/?src=http://www.google.com" - where the "src" is validated (unless the dev is an idiot).