Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Developer Forums > Programming

LinkBack Thread Tools Search this Thread
Unread 19th Feb 2013, 10:39 AM   #1
Warrior Member
War Room Member
Join Date: 2012
Posts: 29
Thanks: 12
Thanked 4 Times in 3 Posts
Default i-framing affiliate link question

I'd like to i-frame my affiliate url to my own URL so that the URL displayed is mine but the page that is displayed is the affiliate link through the use of a giant i-frame that takes up 100% of the page.

I've gotten this far no problem but the issue is this..

So, through the real URL, the page allows visitors to pick their product among 4 different products or any combination of the 4 and then hit the 'start my order' button - they are then directed right to the paypal screen for them to pay.

When doing it through my URL using the iframe they see the same page and it works the same way, and when they hit the start my order button it still does take them to the paypal screen, however, the URL displayed is still my URL! and not the paypal URL like it normally would.

I feel this will kill sales at the last minute and want to make it so that when they click the start my order button it doesnt do it through the Iframe on my page but instead the button actually takes them off my page and onto the paypal page and displays the paypal URL as it should.

How can I do this please?

Thanks in advance for taking the time to reply to this thread and helping me out warriors
rhopkins90 is offline   Reply With Quote
Unread 19th Feb 2013, 03:57 PM   #2
Javascript Programmer
Registered Member
nodesolomon's Avatar
Join Date: 2013
Location: London
Posts: 38
Thanks: 35
Thanked 2 Times in 2 Posts
Default Re: i-framing affiliate link question

Just a quick question, is the affilate URL(page), do you have control of it?

Basically whats happening, when you have an iframe it acts as another document inside the parent document(your real URL), so when you click on a link inside your iframe( the affilate url), it just changes that document. if you get what i mean.

One solution that could improve the user experience in your case, if you do have control of the html for the (affilate url) change the <a> attribute

<a href="" target = "_blank"> Start Order Button</>
adding target attribute to the <a> would open a new window, in modern browsers it will open a new tab. which i think is even better, incase they want to come back to your page to clarify the product details?

note: i haven't tested this, but its just one the solution you can try.

read my collection of Famous Quotes
Free Online Movies
nodesolomon is offline   Reply With Quote
Unread 19th Feb 2013, 09:19 PM   #3
WP Dev & Design
War Room Member
David V's Avatar
Join Date: 2011
Location: USA
Posts: 741
Blog Entries: 4
Thanks: 91
Thanked 250 Times in 205 Posts
Default Re: i-framing affiliate link question

I think nodesolomon is close.
Add this attribute
rel="nofollow" target="_top"
to the form tag and when the button is clicked it will break out of the iframe.

Signature is taking a short break.

"David has managed the digital side of my retail business for over 8 yrs
and I can't imagine working with anyone else. ~ Carrie Silva | TheDoghouseLLC
David V is offline   Reply With Quote

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Developer Forums > Programming


affiliate, iframing, link, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT -6. The time now is 10:42 AM.