Skip to main content

Local data inside iframes

Variables, conditional choices, and automations allow you to adapt a guide to the reader based on data. It can be things like their location, subscription type, or any other information you collect.

If you display guides inside the widget, you can tap into the data stored in Stonly. But if you're using iframes to embed guides on your website instead, you need to send the data to variables and conditions locally.

There are two ways to do that:

  • Include the data in the iframe URL.

  • Pass data to the iframe inside the page's code.