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!
Solved! Go to Solution.
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:
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.
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.
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.
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.
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.
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:
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.
... like I also said here: https://nation.marketo.com/message/132350#comment-132350
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.