I'm sure they do. They could probably get that data from the vast majority of users using Javascript. I assume a concurrent onclick request wouldn't slow things down noticeably.
How about a right click? Google substitutes the link on the right-click as well. Which creates loads of frustration for users wanting to copy say a link to a research paper to an e-mail.