Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about banners 1

Status
Not open for further replies.

Aishaa

Technical User
Apr 12, 2001
90
CA
Hi - I have an affiliate banner on one of my sites that isn't putting a cookie into my hard drive.

However when I click on it, it does take me to the affiliate sign up site. Since it does not leave a cookie on my hard drive Does that mean that if someone clicks on my banner and signs up as an affiliate without that cookie on his/her hard drive that I will not get the cash credit?

A little note: I do have the same site up elsewhere on the net and that one's affiliate banner does leave a cookie on my hard drive when I click on it.

I tried to redo the page in Front Page, but no go, I have the same no cookie syndrome...

TY Aishaa

 
Cookies aren't the only way to pass information from one site to another. There are also form fields, and URL parameters, to name just two more. I suspect that your "affiliate ID" is being passed as a URL parameter. You should be able to see this. Float your mouse over the banner and look at the banner's target URL, or "view source" and look at it directly. If the URL passes parameters, you'll often see a question mark followed by the parameters, like:

<a href=&quot;
or something like that. John Hoarty
jhoarty@quickestore.com
 
I read somewhere in their literature that permanent cookies were left on people's pcs, so I assumed that they needed to be there.

But if there are other ways to pass information from say my site to their site, that is ok if the cookie doesn't work ---at least I think it is.

This is what I've got from the banner - is it a url parameter?
I have no idea if it is correct, but am kind of confused because it contains the HREF twice. Do you know why it does this twice?

What is &quot;passing parameters&quot;?

HREF=&quot; OnMouseOver=&quot;window.status='+&quot;'Click here for '&quot;+'; return true&quot; target=&quot;_top&quot;>')
document.writeln('<img src=&quot; height=&quot;60&quot; width=&quot;468&quot; border=0></A>')
//-->

</script>
<noscript>
<A HREF=&quot; OnMouseOver=&quot;window.status='Click here for '; return true&quot; target=&quot;_top&quot;>
 
Righto, one &quot;href&quot; is for people whose browsers can handle javascript and the other is for those will javascript-challenged browsers. No problem there. Passing parameters simply means that the banner is transferring your visitor to another site, and passing information (parameters) along with that person. In your case, the parameter I'm referring to is the &quot;acct=SHETANEE&quot; part. Strictly speaking, &quot;acct&quot; is a variable. It can have any number of values. In your case, it is assigned the value, or parameter, &quot;SHETANEE&quot;. It's possible that the target website then sets the cookie on your visitor's browser. John Hoarty
jhoarty@quickestore.com
 
Thank you so much - that bit of script was total gibberish to me until now, lol.

So, if the target website doesn't set a cookie on my visitors pc, does that mean that there is something wrong?

Reason I ask is that I have another banner which is similar, and that one Does leave a coookie.

TY, aishaa
 
Let me rephrase that: that url parameter that is there, since it contains my account name of Shetanee, is that enough information the target website needs to credit my cash? So that if the cookie doesn't work, then the url parameter is the second backup?

TY, Aishaa

 
I don't think we've established whether or not the target website in this case is supposed to write a cookie. If it doesn't write a cookie, that doesn't automatically mean it's broken. John Hoarty
jhoarty@quickestore.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top