How to embed Experience app into external website?

241
3
03-23-2021 07:55 AM
Labels (2)
LiubomyrOliinyk
New Contributor II

How can I fix the issue of embeding a page created with Experience Builder into external webstie. On the external website I have created an iframe with a link to the experience builder page. It works fine in many browsers. But some users returned to me addressing the troubles - the page is just loading all the time without success. The same happens in Chrome Incognito mode - . The error in the console read as follows. The Experience page is made public.

Could you please advise what might be the reason?

spring_of_nations_error.jpg

3 Replies
ILoveACleanSanDiego
New Contributor II

Hi @LiubomyrOliinyk - are you able to share your iframe code? My web designers are having a similar yet simpler problem, and can't get the Experience embedded in the iframe so that the device-adaptive properties of the Experience still function. I'm hoping your code (while having trouble with certain browsers) may be helpful for me if you're willing to share. Thank you and sorry I can't be of help!

0 Kudos
UalasRohrer
New Contributor III

@ILoveACleanSanDiego  Try adding this to your page header. 

<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">

ILoveACleanSanDiego
New Contributor II

Thank you very much @UalasRohrer ! The developers figured out a workaround (I unfortunately do not have access to the code to share with others ☹️), but I will share this with them for future needs.

0 Kudos