How to create an Auto Redirect page to an affiliate offer

In some cases, you will want to create a bridge page that will automatically forward your visitors to a product/offer link.

In some cases, you will want to create a bridge page that will automatically forward your visitors to a product/offer link.

Usually, you can achieve this with standard HTML Tag: <meta http-equiv="refresh" />.

Since AnyTrack doesn't support meta tags, you should create a redirect script that will AutoTags your link with the AnyTrack click_id.

 

👉 You can also check the article that shows you how to create a deeplink on your own domain.

 

Using the Populate function

The AnyTrack populate function allows you to take any offer link and automatically populate it with a unique clickid AnyTrack can track. Running this command will trigger an OutboundClick event and will AutoTag the offer link with the appropriate clickid.

For example:

var link = AnyTrack('populate', 'https://hop.clickbank.net/?affiliate=AFFILIATE&vendor=VENDOR');

This command will take the offer link https://hop.clickbank.net/?affiliate=AFFILIATE&vendor=VENDOR as an input, generate an OutboundClick event, and will return a populated link such as:

https://hop.clickbank.net/?affiliate=AFFILIATE&vendor=VENDOR&tid=2RSd7Mds4sBbRgkY**

The output link carries a trackable link you can use to redirect your users.

Full Example

This script will wait until AnyTrack TAG is loaded and then redirect the user to the link https://www.your-affiliate-link.com .

Replace this link with your offer link, and the user will automatically redirect to your offer link when the page is loaded.

 

Note: Please remember to place this script anywhere AFTER your existing AnyTrack TAG.

Advance Usage: Existing Click ID

The populate command also supports populating existing click IDs that you generated previously. In order to populate the link with the given click id, just add the click ID on the third parameter.

This is extremely useful when you want to add some custom parameters on your click ID, such as email or other matching parameters:


Need support?

Questions? Problems? Need more info? Contact Anytrack Support for assistance!

Click here