Simple PHP to Cloak Affiliate Links and Track Clicks
admin
I found this excellent article on Terry’s SuperAff.com.
He had quoted an article from Studge.com which gives you PHP code to cloak affiliate links as well as click tracking by using MySQL database with just one table.
I am presently using a Meta Refresh Tag for Link+cloaking" rel="tag">Link cloaking and Adminder software for click tracking. Now, I could have directly used Adminder for Link Cloaking also but Adminder has put a restriction on the use of their links in email campaigns. That is a big negative point with this software as email campaigns form one of the important part of an affiliate marketers’ business.
So, I am in the process of implementing the code given by Partrick of Studge.com. You can either implement this code on one site and use it for all your domains or create this code in each of your domain and have link cloaking for each site independently.
I would prefer the first method of having the code in one site and using it for multiple domains. The main reason for this is better control and manageability. Whenever a vendor’s affiliate code changes or you want to use a different affiliate code for the link, then you need to change it at only one location. And, all your campaigns will start reflecting your new code.
Patrick has also given an SQL query for displaying the click statistics. But, if you wish, you could also write a more versatile frontend for displaying the statistics.
Sponsored
|
Authority Black Book - Free Download |
| 0.0 |
- Receive updates on the latest posts by Email
- Subscribe to our RSS Feed for instant updates!
- Add my blog to your Technorati Favourites
Tags: Affiliate Marketing
Related posts

ShareThis |
Email This Post
|
Print This Post
| 














3 Responses to “Simple PHP to Cloak Affiliate Links and Track Clicks”
By
Smaxor (Who am I?) on Oct 13, 2007 | Reply
I found you on digg with a similar article. I have a tutorial on how to write a click tracking to subid conversion script if anyone is interested.
http://www.oooff.com
Hope it helps.