I've searched and read all the affiliate stuff on the site, and it seems that lots of people are wanting to do something with affiliate tracking, and some are doing something with cartlinks, etc, but I can't find any definate examples of Ubercart AFfiliate work.
I have an affiliate program and I need to setup support for it, so I'd like to get a couple of idea from you experts....
All of my affiliates have to have a Drupal Account, so I basically have an affilate module that lets my users build text links, graphic links, and it basically creates a URL with their UID embedded. Currently, I store this when a link is clicked, and if someone joins my site as a result of a referrral, I link the new person to the affiliate, so they always get paid for repeat sales.I've been passing it to Paypal as a custom field, and using IPT to write my transactions into a database that tracks my commissions.
Now that I'm switching to Ubercart, I have to change my tracking logic. For my purposes, all I really need to do is to store the UID of the affiliate with the order somewhere in the database.
Here are a couple of possiblities that I see, but I'd like some input.
1. When order completes write a record to uc_order_log or uc_order_admin_contents with the order_id and the uid of my referring affiliate.
2. Create a new uc_affiliate table and write order_id, uid or affiliate to a new table.
3. Try to re-word the current drupal affiliate module to work with Ubercat (seems like this would be more difficult).
4. Others...
Thouguts.
1. Google Analystics is not an option, I need to have detailed record tracking every order to an affilite.
2. I don't know how someone would use CartLinks to track affiliates, if you can
explain this, I'd like to know more.
3. I'm assuminmg that SOMEONE on here has done something like this already, if so, please share.
Thanks for all the help.
Jim




I really appreciate you taking the time to post this all up here, and if you feel up to the task of copying these comments to a 


Joined: 10/29/2007