Simple PHP to Cloak Affiliate Links and Track Clicks

Written on May 24, 2007 – 8:17 am | 638 views | Posted in Affiliate Marketing by User Imageadmin (Who am I?)

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 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
The ebook has 64 pages of resources for Web 2.0 Domination, Buzz Generation, Higher Rankings, mind-boggling Traffic and, of course, high revenue potential.

 

Rate this:
0.0
If you found this post interesting and useful, then you really haven't seen anything! Why not:

Tags:

Related posts


I Love SBI!


ShareThis  | Email This Post Email This Post  | Print This Post Print This Post  |  Subscribe to It!
  1. 3 Responses to “Simple PHP to Cloak Affiliate Links and Track Clicks”

  2. By no imageSmaxor (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.

    Rate this:
    2.5
  1. 2 Trackback(s)

  2. May 24, 2007: PlugIM.com
  3. May 24, 2007: Anonymous

Post a Comment


Hire Me Direct

Welcome to The Associate Reference...

RajHello, my name is V.K. Rajagopalan and people call me Raj. In this blog, I present to you lot of useful tips and suggestions on Affiliate Marketing, unbiased Affiliate Product Reviews, Top 100 Affiliate Marketing Programs, Internet Marketing Success Course and soon to be started comprehensive Affiliate Programs Directory ... Learn More

Become an IM Genius | Useful Articles | ClickBank Marketplace

Subscribe to Full Text RSS Feed ...

 Subscribe In a Reader Or, Subscribe via Email:
Enter your email:  
Find entries :

Arabic German Portuguese Chinese Italian Russian Japanese Spanish French Korean