Forum Moderators: DixonJones
I need some advice regarding cookies.
This is the scenario:
I run an website that targets a specific keyword for a affiliate program I belong to.
When a user goes to the publishers site a cookie with the affiliates id is placed on the visitors machine that identifies which affiliate referred them.
My problem is that when visitors hit my site they have to navigate to through 2 pages before they move off my site to the the publishers site and have the cookie placed in their machine.
I want to get the cookie with my affiliate id onto their machine as soon as they hit my site.
I was thinking one possible way was to get the code for cookie from the publishers site & incorporate it into my default page.
BUT
My knowledge is a bit limited in this area (cookie programming).
And I'm not sure what code to copy or even if this will work.
Any advice, direction or ideas would be appreciated.
Thanks
Buster
Thanks for your reply.
My motivation is to increase the number of sales I get credit for.
looking at my stats I believe that some visitors are leaving my site before they navigate to a page where a cookie is placed. The page that places the cookie is 3 pages deep.
The obvious answer would be to get the visitor to a page that places the cookie faster. Problem being my default page content is why the site is getting good results.
How could I have my content at the top of the default page and then have the cookie page at the bottom?
Buster
I think
Another technique is to open the landing site in a hidden IFRAME or a 1x1 pixel IFRAME. Check the terms and conditions as to whether this is allowed.
Thanks for your reply
I was thinking that an iframe or a frameset might fix my problem.
I did a quick iframe test using the following:
(100x100 to see what was happening)
<p><iframe align="left" height="100" width="100" src="http://www.someurl.com"></iframe></p>
Problem with this is the src site loads over my default page(redirects to the src), how do I keep the src page in the iframe?