# iFrame Support

Zipy offers support for capturing iframes across a wide range of application scenarios. However, it's important to note that the way you integrate and configure Zipy may vary depending on specific iframe use cases. In this section, we will explore these possibilities.

| Iframe configuration                                                                                                                                                         | Example                                                                 | Support                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ol><li>The parent page and the embedded iframe run on the same domain.</li></ol>                                                                                            | A single-domain site using iframes to organize various components       | Integrate and initialize Zipy on the parent page.                                                                                                                           |
| <ol start="2"><li>The parent page and the embedded iframe run on two different domains.</li></ol>                                                                            | A cross-domain site using iframes to organize various components.       | Zipy should be integrated and initialized in both the parent and the iframe application\*\*                                                                                 |
| <ol start="3"><li>The parent page embeds an iframe and you want to capture the iframe app content only in that page.</li></ol>                                               | Your content is embedded into a third-party site that doesn’t use Zipy. | <p>Integrate and initialize Zipy in the iFrame app.<br><strong>Use the below code snippet:</strong><br>zipy.init("YOUR\_PROJECT\_SDK\_KEY", {recordOnlyIframe : true});</p> |
| <ol start="4"><li>The parent page has Zipy integrated and initialized, but you don’t have access to the cross-domain iframe content source code to integrate Zipy.</li></ol> | A third-party support widget embedded in your site.                     | Iframe recording in such a case is not Supported                                                                                                                            |

&#x20;\
How to integrate Zipy?&#x20;

<https://docs.zipy.ai/getting-started/install-zipy>

\*\* To support the cross-origin iframe please contact zipy support team or email to <support@zipy.ai>&#x20;

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zipy.ai/product-features/iframe-support.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
