Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Track Affiliate by Logged-In User?
- This topic has 3 replies, 2 voices, and was last updated 12 years, 2 months ago by amin007.
January 6, 2011 at 5:12 pm #2460MikeDMember
I have a site that is a corporate document management tool. The entire WP site is members only. Logged in users can email their shopping cart (with documents for download) to anyone for free. WP eStore is being used with manual checkout without payment.
WP eStore has stats of the recipient of the shopping cart email, but does not track the sender. I’m considering using WP Affiliate to get stats of the sender. Would it be possible to modify WP Affiliate to track the affiliate not by clicking a banner, but by the logged-in affiliate? (Or would it need to track the logged-in WP user because this is a members only site?)January 7, 2011 at 4:26 am #27798amin007Participant
Not sure I fully understand your requirement. You want to track a click everytime someone logs into WordPress? How do a user email the shopping cart?January 7, 2011 at 2:12 pm #27799MikeDMember
The person who “purchases” the product (for free) is not necessarily the person that receives the product. Because there is no payment, the user at checkout enters someone else’s email address. It’s one person sending a collection of downloadable documents to another via the familiar store interface.
WP eStore tracks stats based on the name and email entered at checkout. I want to track the user that filled out the checkout form, not the person that received the product. The person that filled out the form is the logged-in WP user. I’m hoping that I can use WP Affiliate to track the person that filled out the form by WP user or affiliate ID. The issue is that the person completing the checkout form will not first click a banner to set the affiliate. They are the affiliate themselves and will be logged in.
Thank you for your help!January 8, 2011 at 3:55 am #27800amin007Participant
Thank you for the explanation. I think in your case it might be better to tweak eStore so that it captures both the email addresses and record it in the “Buyer Email” address field. For example you can probably fit both email addresses like the following in that field:
Buyer: firstname.lastname@example.org, Recipient: email@example.com
It will require a bit of coding but this way you won’t have to rely on an user clicking on an affiliate link to set the cookie before they checkout (I don’t see every user doing it).
- You must be logged in to reply to this topic.