How can developers use a similar tracking link to Google's results page?
- by Peter Jones
I've read heaps of pages of people trying to implement some kind of tracking system similar to the way Google reroutes search link.
Eg: Search "Facebook" in Google, open in a new window, and the link changes to something like:
"http://www.google.com.au/url?sa=t&source=web&cd=1&ved=0CBkQFjAA&url=http%3A%2F%2Fwww.facebook.com%2F&rct=j&q=Facebook&ei=sksZTZexJobJccXnxZYK&usg=AFQjCNHTTNi-O4Qgrg6kvGVfKJuRqbuOKw&cad=rja"
I'm guessing Google tracks that click and then redirects to the actual site by reading the url parameter.
What I wanted to know is if there was a simple way that you can make this kind of functionality work using an onclick event - just change the link href after being clicked to redirect?
There's a few threads, but from what I could find, nobody has actually succeeded without problems or limitations.
Thanks in advance.