drupalfun.com
How do I keep the full Affiliate URL in the browser address bar?
Submitted by wyattbiker on Fri, 06/04/2010 - 13:52
Status:
Open Question:
I am using uc_affiliate2 module. I have set it up so the link to the affiliate website is this format:
http://mywebsite.com/affiliate/affname
This module works very well, except once it 'logs in' to the affiliate store using the link, the URL in the browser address bar reverts back to http://mywebsite.com/
I would like to keep the full link in the address bar (only when on main welcome page) so the customer can bookmark it. Otherwise they bookmark a non affiliate invalid website and if cache is cleared it will not work.
I have considered putting a bookmark button and use JS to do it, but not so clean. I also don't want to use subdomains at the moment.
Any tricks would be appreciate it.
Any ideas or tricks would be appreciate it.


1. I am not sure that this is
I am not sure that this is possible. However, the affiliate information can be retained in a cookie. So even if people bookmark the page and come back in say 2 weeks. The system will still see that they used the affiliate link.
Hope that helps,
Dorien