Possible to split test with PHP redirects?

4 replies
Hi all,

I'm sending traffic to an affiliate link with the following code in a php file:

Code:
<?php
header( 'Location: http://someaffiliatelink.here.clickbank.net/' ) ;
?>
Can I use php to alternate between two (or more) different hoplinks?

Like I have traffic coming to the php file on my site. But I don't know which affiliate link converts better, so I just want to distribute my hops between two or more urls and track the conversion rate.

Anyone know how to do this?

Thanks!

Art
#php #redirects #split

Trending Topics