• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • Yellana is a worldwide CPA network that unites affiliates and direct advertisers on a way of growth 🪐 100+ exclusive offers, weekly payments, all traffic types.
    Join Yellana

Guide Using an iFrame with Affiliate Offers

MGID
Copied code from the first post and this is the result:

Blank page and error in console:
Refused to display 'https://afflift.com/f/' in a frame because it set 'X-Frame-Options' to 'sameorigin'
It happens only in Chrome. Mozilla Firefox, IE.. works fine.

Seems like the destination url allows iframe only from the same domain. But the problem is only with the Chrome :(
Any idea how to fix it?
 
Last edited:
RollerAds
Years ago, I began recommending PeerFly affiliates promote our offers using Bing Ads. Bing has been a great source of traffic for us, but it has changed it's rules a bit over the years.

One thing that has changed is that you are required, in most cases, to have your final destination URL match the link you are advertising. This causes issues for affiliates because the URL we are advertising is an affiliate link on a different domain than the final landing page URL. For example, if I am promoting my PeerFly affiliate link for affLIFT, it'd look something like this:

http://trkur1.com/386/39356

But the final destination URL is

https://afflift.com

It's pretty easy to see that those do not match. How can we get around this issue?

The best thing I have found (besides creating your own landing page) is to use an iFrame. I have checked multiple times with Bing representatives and there is no rule against creating an iFrame.

What does an iFrame do? It makes it so you can "frame" the affiliate link on your own domain. Then, you can advertise your URL with the iFrame on it, but the user is seeing the affiliate link.

You can see an example of this by going to: http://luke.wrenched.me

It's loading my blog (https://www.lukepeerfly.com) in the frame, but the URL stays http://luke.wrenched.me:)

How do you do it?

It's pretty simple. You just need to create a new file on your hosting for your domain (I do not recommend using WordPress for this) and copy/paste this code:

HTML:
<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <title>The Page Title</title>
    <style>
           html {
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           body {
               overflow:hidden;
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           iframe#dest {
               height:100%;
               width:100%;
           }
    </style>
</head>
<body class="dest">
    <iframe frameborder="0" height="100%" id="dest" name="dest" seamless="seamless" src="https://affLIFT.com" width="100%"></iframe>
</body>
</html>

Change the part that says The Page Title and the part that has https://affLIFT.com to your affiliate link. You should be able to get your new link approved on Bing Ads as long as it does not break their ad policies and guidelines: https://advertise.bingads.microsoft.com/en-us/resources/policies

Good luck! Let me know if you have any questions :)

Luke i have done this but unable to see any link...
I logged into my cpanel, then went to file manager, then public html (where website files are exist) and created the file same as you told but not able to see any new link :(
please guide me
 
Luke i have done this but unable to see any link...
I logged into my cpanel, then went to file manager, then public html (where website files are exist) and created the file same as you told but not able to see any new link :(
please guide me
Message me with the link and I’ll take a look.
 
Copied code from the first post and this is the result:

Blank page and error in console:
Refused to display 'https://afflift.com/f/' in a frame because it set 'X-Frame-Options' to 'sameorigin'
It happens only in Chrome. Mozilla Firefox, IE.. works fine.

Seems like the destination url allows iframe only from the same domain. But the problem is only with the Chrome :(
Any idea how to fix it?
Hmmm, yeah, affLIFT forum software blocks the iframe. You definitely need to check your iframe to make sure it’s not getting blocked. Apparently affLIFT was a bad example 😆
 
@Luke I already have a domain with GoDaddy and the website created using Wordpress, so I'm not sure how to do it since you don't recommend Wordpress. Also can't find where to create a "file". So, do you suggest waiting till you release your new tool, or could you guide me? When can we expect it, roughly, if you don't mind me asking?
 
@Luke I already have a domain with GoDaddy and the website created using Wordpress, so I'm not sure how to do it since you don't recommend Wordpress. Also can't find where to create a "file". So, do you suggest waiting till you release your new tool, or could you guide me? When can we expect it, roughly, if you don't mind me asking?
Creating a new file with Wordpress is a pain which is why I don’t recommend using it for this.

I had some issues with FPTraffic this week set my back a little, but I made some progrsss on Search Wrench (my Bing Ads tool) and it should be ready for the beta launch early next week 👍😀🚀
 
Please all be aware that when you are using iFrame with your affiliate link, your visitor/user could be stuck somewhere in the middle and never reach final offer page.

When does it happen?

For example, you put your affiliate link into an iframe tag. When the user opens your URL, firstly aff link will be loaded than the user will be redirected through many other URLs (all inside iFrame tag) until offer page is finally loaded. Some of that in-between URLs perhaps doesn't allow loading through IFrame and user will be stuck on that URL and never reach offer page. On your affiliate network or tracker, this will be counted as a click, but that click will never have a chance to convert to a lead and you may lose many potential conversions...
You never know...
 
Please all be aware that when you are using iFrame with your affiliate link, your visitor/user could be stuck somewhere in the middle and never reach final offer page.

When does it happen?

For example, you put your affiliate link into an iframe tag. When the user opens your URL, firstly aff link will be loaded than the user will be redirected through many other URLs (all inside iFrame tag) until offer page is finally loaded. Some of that in-between URLs perhaps doesn't allow loading through IFrame and user will be stuck on that URL and never reach offer page. On your affiliate network or tracker, this will be counted as a click, but that click will never have a chance to convert to a lead and you may lose many potential conversions...
You never know...
Yeah, you most definitely should test your iframe link to make sure it actually works. That's how you will know :)
 
Years ago, I began recommending PeerFly affiliates promote our offers using Bing Ads. Bing has been a great source of traffic for us, but it has changed it's rules a bit over the years.

One thing that has changed is that you are required, in most cases, to have your final destination URL match the link you are advertising. This causes issues for affiliates because the URL we are advertising is an affiliate link on a different domain than the final landing page URL. For example, if I am promoting my PeerFly affiliate link for affLIFT, it'd look something like this:

http://trkur1.com/386/39356

But the final destination URL is

https://afflift.com

It's pretty easy to see that those do not match. How can we get around this issue?

The best thing I have found (besides creating your own landing page) is to use an iFrame. I have checked multiple times with Bing representatives and there is no rule against creating an iFrame.

What does an iFrame do? It makes it so you can "frame" the affiliate link on your own domain. Then, you can advertise your URL with the iFrame on it, but the user is seeing the affiliate link.

You can see an example of this by going to: http://luke.wrenched.me

It's loading my blog (https://www.lukepeerfly.com) in the frame, but the URL stays http://luke.wrenched.me:)

How do you do it?

It's pretty simple. You just need to create a new file on your hosting for your domain (I do not recommend using WordPress for this) and copy/paste this code:

HTML:
<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <title>The Page Title</title>
    <style>
           html {
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           body {
               overflow:hidden;
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           iframe#dest {
               height:100%;
               width:100%;
           }
    </style>
</head>
<body class="dest">
    <iframe frameborder="0" height="100%" id="dest" name="dest" seamless="seamless" src="https://affLIFT.com" width="100%"></iframe>
</body>
</html>

Change the part that says The Page Title and the part that has https://affLIFT.com to your affiliate link. You should be able to get your new link approved on Bing Ads as long as it does not break their ad policies and guidelines: https://advertise.bingads.microsoft.com/en-us/resources/policies

Good luck! Let me know if you have any questions :)
Would you make any changes to this for iframing FaceBook ads Luke?
 
@Luke As one.user already said it will make more sense if.you can make a video showing exactly how to do a bing ads and facebook ads your way it will save you alot of queation answering
 
Years ago, I began recommending PeerFly affiliates promote our offers using Bing Ads. Bing has been a great source of traffic for us, but it has changed it's rules a bit over the years.

One thing that has changed is that you are required, in most cases, to have your final destination URL match the link you are advertising. This causes issues for affiliates because the URL we are advertising is an affiliate link on a different domain than the final landing page URL. For example, if I am promoting my PeerFly affiliate link for affLIFT, it'd look something like this:

http://trkur1.com/386/39356

But the final destination URL is

https://afflift.com

It's pretty easy to see that those do not match. How can we get around this issue?

The best thing I have found (besides creating your own landing page) is to use an iFrame. I have checked multiple times with Bing representatives and there is no rule against creating an iFrame.

What does an iFrame do? It makes it so you can "frame" the affiliate link on your own domain. Then, you can advertise your URL with the iFrame on it, but the user is seeing the affiliate link.

You can see an example of this by going to: http://luke.wrenched.me

It's loading my blog (https://www.lukepeerfly.com) in the frame, but the URL stays http://luke.wrenched.me:)

How do you do it?

It's pretty simple. You just need to create a new file on your hosting for your domain (I do not recommend using WordPress for this) and copy/paste this code:

HTML:
<!DOCTYPE html>
<html>
<head>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <title>The Page Title</title>
    <style>
           html {
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           body {
               overflow:hidden;
               height:100%;
               width:100%;
               padding:0;
               margin:0;
           }
           iframe#dest {
               height:100%;
               width:100%;
           }
    </style>
</head>
<body class="dest">
    <iframe frameborder="0" height="100%" id="dest" name="dest" seamless="seamless" src="https://affLIFT.com" width="100%"></iframe>
</body>
</html>

Change the part that says The Page Title and the part that has https://affLIFT.com to your affiliate link. You should be able to get your new link approved on Bing Ads as long as it does not break their ad policies and guidelines: https://advertise.bingads.microsoft.com/en-us/resources/policies

Good luck! Let me know if you have any questions :)
Am I right in saying that some offers block iframing? On many occasions I’ve found that the frame doesn’t load and leaves a blank page.
 
Am I right in saying that some offers block iframing? On many occasions I’ve found that the frame doesn’t load and leaves a blank page.
I might have just found the culprit - if you're not using SSL then in this case Chrome has blocked the iframe script from running.

I'm assuming that SSL on domain is essential otherwise you'll lose a lot of views after clicks.

 
@Rich that seems odd. I know sometimes it'll load a blank page when the frame is blocked, but when I try to load my blog (which is https) using a SearchWrench link, it loads fine. Here's the example:

http://luketest2.renchd.com/

I could potentially add certificates to all the subdomains on SearchWrench, but that may be a pain with how it's setup. I'll investigate more 👍

I did make a test IFrame page that'll be I'll be adding to the "Create Link" form so you can test your link to make sure it's going to load fine in the iFrame:

http://panel.searchwrench.com/iframe/?url=https://www.lukepeerfly.com

Obvioulsy just change the url= to your URL :)
 
Hey @Luke just to confirm buddy that I've not experienced this issue with searchwrench, it's when creating my own iframes with my own hosting, using a non-SSL custom domain.

I've only started testing SW today so if I encounter issue this I'll let you know.

That test link is excellent, thanks.

Thanks
Rich.
 
Hi Luke, is the iframe script mobile responsive? Will it auto resize for mobile phones since a lot searches are from mobile nowadays.
 
Hi Luke, is the iframe script mobile responsive? Will it auto resize for mobile phones since a lot searches are from mobile nowadays.
Yes it is responsive in my experience.

Most likely responsiveness isn't an issue as long as the offer page / destination URL itself is responsive.
 
Hi @Luke , Could you do a short video setting up the Searchwrench. Would be appreciated, thanks .
 
Top