Target group Name Version Version info Implementation steps Last modified
affiliate General All Custom clickout script Using a custom clickout script

As affiliate you can easily create a custom click out script which enables you to easily handle all kind of events like for example click registration or forwarding users from a secure (https) environment to a non-secure location.

In a PHP environment for example, you can create a page containing the following code:

if (!empty($_GET['url']))
// Your custom code here, e.g. click registration.
$x = new ClickHandler();

// When done, forward to the requested location.
exit(header('Location: ' . $_GET['url'], true, 301));

In this example a file called clickout.php is created and placed in the root folder of the website.

Links on your website would eventually look like:

<a href="">Clickout</a>
Please note that the value of the "url" parameter should always be URL-encoded according to official standards.
Shortlink to this article:[id]=38
05-Dec-2014 09:02:33