HopLinks are an extremely secure and reliable method of promoting products and receiving affiliate credit for sales. However, some affiliates with knowledge of HTML or PHP may want additional ways to encode or “cloak” their HopLinks. Please note that cloaking your HopLinks is not required, as ClickBank HopLinks are now automatically encoded by the HopLink Shield, which provides a great deal of security and protection.

If you prefer to also cloak the ClickBank portion of the HopLink, we recommend sending the customer to a URL of your own that redirects them through the correct HopLink. To do this, use the HTML below. Don’t forget to replace each occurrence of AFFILIATE and VENDOR with the correct value! Please note that this technique is for advanced users.

HopLink Cloaker HTML:

<html>
<head>
<title>Loading page</title>
<meta http-equiv="refresh" content="2;URL=http://AFFILIATE.VENDOR.hop.clickbank.net">
<script>
url=’http://AFFILIATE.VENDOR.hop.clickbank.net’;
if(document.images) { top.location.replace(url); }
else { top.location.href=url; }
</script>
</head>
<body>Loading
<a href=http://AFFILIATE.VENDOR.hop.clickbank.net>page</a>
</body>
</html>

If your web server runs PHP, you can use this simple script instead:

<?php
header(”Location: http://AFFILIATE.VENDOR.hop.clickbank.net”);
?>