That is smart. Still most sites use click to copy and open site. They don't use the reveal part as people are lazy. Sure it is possible for some one to look and memorize the code ... but most 99% will just click and go through the affiliate link.
Maybe this is easy to do for you.