Zen Follower
- Join Date:
- Jun 2008
- Posts:
- 187
- Plugin Contributions:
- 0
Adding a Cookie to Category and Product Pages for affiliates
Hi guys, i'm going to explain what we're planning to do as i think it maybe helpful to others.
what im trying to achieve:
we're going to be taking on another new affiliate network and we need to have tracking cookies to prevent duplicate commissions going to both networks. We've added a 'click append' to both affiliate networks (this can usually be added in the admin of your affiliate network or requested). e.g. source=affiliate1. so i'm picking this value up in a cookie and storing this. When at checkout we check to see is this cookie exists and then if it does we check the value and then use the appropiate affiliate conversion code.
What i need guidance with:
Which files do i need to edit in order to create my cookie on product and category pages?
Andy.
oh dear gurrrddddd.