Using 2 affiliates on one link?

Sako94

Junior Member
Joined
Jan 12, 2011
Messages
151
Reaction score
14
Hey guys, i know i haven't posted in a while, but that doesn't mean I'm not reading the content !
I've ran into a little trouble here and need some help
i have 2 affiliate links i want to use on one line, how can i make that possible?

for example:
"Click here now to save 25%"

i want it to direct from first affiliate company link and go to the second company link
because both companies are almost like sister websites and the user in the next 30 days will end up buying from the first company as well
so i can get some commission from it.
is this possible? what are some things i can do

thanks in advance!
 
Not sure exactly what your wanting to do.

If you want the link to take them to the first affiliate site so they can see it and then when they are done looking at it take them to the second site then you can't do that from a link. You would have to have edit the html on the first site to do that.

But, if what you want to do is open both affiliate sites when they click the link then you can do that using this anchor.
Code:
<a href="http://affiliatelink1.com" onclick="window.open('http://affiliatelink2.com');">Click here now to save 25%</a>
That will open the affiliatelink1.com in the current window
and then open affiliatelink2.com in a second tab or window

Hope that helps. :cool2:

edit-
If you want to do something else then you need to explain your question better.
 
Last edited:
that actually works i guess Grey Wolf
Thanks a lot for the reply

is there another code though that would
just open the first affiliate but quickly go to the second affiliate
like i don't want them to even see the first affiliate site just quickly go to the second affiliate but loads the first url so i get both clicks in one link.

does that make sense?
 
You could possibly link to a page on your site that iframes the first affiliate link and redirects after 1 second, but I've read bad things about iframing and affiliates (related to cookie stuffing) so not sure if this would be a viable option.
 
add the first link in a hidden iframe, like this:
Code:
<iframe src="first_aff_link" width="1" height="1"></iframe>
so when someone visits your page the first aff. link opens automatically in the hidden iframe...
I hope your aff. program doesn't use frame breaker and tracking is cookie based
 
are those my only choices?
there great i love it, but I'm scared it won't work
is there no other way because I've seen some sites do this

on the url ill see one link then it'll quickly jump to the next link without loading
 
that actually works i guess Grey Wolf
Thanks a lot for the reply

is there another code though that would
just open the first affiliate but quickly go to the second affiliate
like i don't want them to even see the first affiliate site just quickly go to the second affiliate but loads the first url so i get both clicks in one link.

does that make sense?
The problem with that is that once it opens the first link they aren't on your page anymore. You can't control what the browser is going to do after you send them to the first link.

It sounds like the situation you're dealing with is one in which buyers on the second affiliate page you want them to see will likely want to buy later from the hidden affiliate page, but probably won't buy from both if they see the hidden one first.

It might work doing it the way mutatedllama and CoolAdvisor suggest by using iframes. Basically you need to make the link go to a page of your own. Then on your page use the code CoolAdvisor gave to open the first afflink, then have the page do a metarefresh to send the visitor to the second afflink. It's kind of a kludgy solution and there's a good possibility as the others mentioned that the first affiliate page won't work with the iframe very well. Basically what you're trying to do is considered Cookie Stuffing which might have helped you back in the day but you could get in trouble for it now.

Most affiliate companies try to guard against cookie stuffing and for legal reasons it's a prohibited topic on BHW now.
 
are those my only choices?
there great i love it, but I'm scared it won't work
is there no other way because I've seen some sites do this

on the url ill see one link then it'll quickly jump to the next link without loading
That's done with a metarefresh. It loads the page that has the metarefresh on it and then the refresh makes it go to the next page. The problem for you is you want to do the refresh on someone elses page. That isn't possible. You could use your own page to open as many other pages as you want, but the only one you can force to close is your own page.
 
Back
Top