Using Appcues with IFrames
Do you use iFrames in your application? Are you unable to place tooltips? No problem, we're here to show you how to work
What Are iFrames?
IFrames, also known as Inline Frames, are essentially a web page within a web page. They're used to display other web pages on your web page whether it's for forms, media, or other material. Because they're a different web page being shown on your site, access to the original source code is needed so that Appcues can be installed to the original web page since the iFrame is not part of the source code of your web app.
Access to the IFrame original source code.
Appcues will need to be installed into any IFrame source code that you are using in order to build within the IFrame as well as publish flows to the IFrame. The installation will be just like installing Appcues to your own web app that you have done before. Check out our installation overview here!
Building within an IFrame
Appcues will require you to separate your flow between the steps you will need Outside of the IFrame and Within the iframe.
Important: take the time to physically draw out your experience where you encounter your IFrame. That way you can visualize what is Outside vs Within the IFrame.
We use a Chrome Extension called Open IFrame that allows you to open the IFrame in a new tab so you can interact with it and build flows! Download here: https://chrome.google.com/webstore/detail/open-iframe/pmaadckffijlkpdcgpbbmoihlhhapikm/related?hl=en
From here, you can build a flow as normal as if you were building a flow in your web application.
NOTE: If you have a flow in an IFrame and a flow outside of an IFrame on the same page, Appcues will show both flows, due to the nature of IFrames, therefore, we recommend if you have a flow within an IFrame, to only have the flow within the IFrame