I use the following code to cloak my affiliate links to make them more appealing:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name=“robots” content=“noindex,nofollow”>
</head>
<body onload="document.location='url';">
</body>
</html>
It works very well for the most part, but certain links do not work and for some reason redirects users to the image use for the product in the table.
The tracking link which does not work looks like this https://www.doesnotwork.com/?a_aid=id12
I’m not quite sure what to try.