Affiliate Program - PHP?
Posted: Tue Nov 23, 2010 6:42 pm
Hi,
I need to implement an affiliate program from a site I have built. My initial thoughts were:
- to include an affiliate id to any links to my site
- when the index page is call I check for the affiliate ID and store it if found in a database
The problem I have is that I can only store the ID against any quotes generated by the site, to do this the user must already have an account, or they must register for an account upon the first visit.
I can't forsee any issues if the user makes the purchaseupon the initial visit. However, if the user follows the affiliate link and bookmarks my site returning later then the affiliate ID will not be traced.
Have I thought this through correctly? I know usually affiliate programs work with cookies but I no absolutely nothing about how these work or are implemented so I thought I would try using PHP to achieve my goal.
Any hints, tips or ideas are very much welcome.
Thanks,
Rob.
I need to implement an affiliate program from a site I have built. My initial thoughts were:
- to include an affiliate id to any links to my site
- when the index page is call I check for the affiliate ID and store it if found in a database
The problem I have is that I can only store the ID against any quotes generated by the site, to do this the user must already have an account, or they must register for an account upon the first visit.
I can't forsee any issues if the user makes the purchaseupon the initial visit. However, if the user follows the affiliate link and bookmarks my site returning later then the affiliate ID will not be traced.
Have I thought this through correctly? I know usually affiliate programs work with cookies but I no absolutely nothing about how these work or are implemented so I thought I would try using PHP to achieve my goal.
Any hints, tips or ideas are very much welcome.
Thanks,
Rob.