SOLVED

Thank you landing page inside Facebook iframe does not load

Go to solution
Anonymous
Not applicable

Thank you landing page inside Facebook iframe does not load

I created a contact form for Facebook, which of course shows up in an iframe. If I set the thank you to a thank you landing page I created, it just shows a blank iframe. If I set the thank you to an external url nothing happens.

Any thoughts on how I can get people off the iframe and either back to the root Facebook url or to a thank you where they can then decide to click somewhere?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you landing page inside Facebook iframe does not load

Doesn't really matter how you built it, everything it does has to obey browser security rules.

You've embedded the https: page directly from your Marketo LP domain (not its CNAME): https://na-ab14.marketo.com/lp/343-GYD-722/LP-ICI-FB.html?fbTab=1&liked=true​. That's secure.

Your Thank You URL page uses your CNAME lp.icihomes.com, and you haven't given Marketo an SSL cert to protect that domain.  That's not secure.

Thus the clear error in the browser console:

pastedImage_1.png

Workaround is to use https://na-ab14 for the TY URL as well.

I'm actually pretty sure I've answered this exact question before, now that I think about it... should come up in a Community search.

View solution in original post

7 REPLIES 7
Tim_Langlois1
Level 4

Re: Thank you landing page inside Facebook iframe does not load

This sometimes is a quirk of the Facebook tab behavior. Try this as a workaround:


In the form settings for the landing page that's published to Facebook, select the "External URL" option in the "Follow-up Type" area. Then in the "Follow-up URL" field paste in the URL of the thank you landing page. Save it and then give it another try.

pastedImage_0.png

Anonymous
Not applicable

Re: Thank you landing page inside Facebook iframe does not load

Thank you for the quick reply. I tried that but it did not work. Still a blank white iframe when the thank you is triggered.

SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you landing page inside Facebook iframe does not load

There are a couple of issues in play.

One is that insecure IFRAMEs should not be rendered inside secure pages.  AFAIK Facebook pages are always https://.

Two is that sandboxed IFRAMEs (where the outer document specifically adds the sandbox attribute) cannot "break out" and change the main document's URL. So that alternate approach may not work depending on how FB is embedding your site.

If you can point to the page with the form, I can analyze it for you.

Anonymous
Not applicable

Re: Thank you landing page inside Facebook iframe does not load

It's the "Connect with us" tab - Facebook page​.

I understand your points, but since I built this using the Publish to Facebook, I can't figure out why it won't work.

I have undone the workaround and now the Thank you is chosen in the manner it which it should be.


Thank you.

SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you landing page inside Facebook iframe does not load

Doesn't really matter how you built it, everything it does has to obey browser security rules.

You've embedded the https: page directly from your Marketo LP domain (not its CNAME): https://na-ab14.marketo.com/lp/343-GYD-722/LP-ICI-FB.html?fbTab=1&liked=true​. That's secure.

Your Thank You URL page uses your CNAME lp.icihomes.com, and you haven't given Marketo an SSL cert to protect that domain.  That's not secure.

Thus the clear error in the browser console:

pastedImage_1.png

Workaround is to use https://na-ab14 for the TY URL as well.

I'm actually pretty sure I've answered this exact question before, now that I think about it... should come up in a Community search.

View solution in original post

SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you landing page inside Facebook iframe does not load

Anonymous
Not applicable

Re: Thank you landing page inside Facebook iframe does not load

Thank you. I did search for this issue and I did see your other thread. I  did not implement it correctly when I decided it did not work. Thank you again for your help.