Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Cloaking Affiliate Links Using PHP

Posts: 39
Joined: 02 Feb 10

Cloaking Affiliate Links Using PHP

I have only 1 affiliate link which is :
And "productname.php" has the code below :

(I am tracking like this so i know which pages are making the most sales)
I have very little PHP or HTML knowledge, does the above code have any drawbacks or disadvantages?

  • 0
Posts: 1062
Joined: 28 Jun 09
Doesn't the clickbank interface already provide for tracking IDs? I would just use those if I wanted to track separate pages.
  • 0
Have questions about creating images? Want an image created for you? Check out my site at
Posts: 58
Joined: 01 Apr 10
If you're using Word Press....take a look at "Pretty Links". You create links that redirect to your affiliate url and it tracks them inside Word Press.

In addition, as gradyp said, you can create different tracking Ids within ClickBank for the same product, which you can then use for different links.
  • 0

This topic was started on May 13, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.