Selecting the right embed code for your needs
IFRAME
This is the simplest, most compatible option to embed a report. Users will be able to scroll through a report in a fixed-height frame on your page.
You may set the height of the iframe in the embed by changing the "height" attribute in the provided iframe code. Learn more
SCRIPT
This is a more advanced option. It inserts the report directly into your page so it flows naturally with your content. The report will be responsive and adjust to the width and height of its container. You may run into more compatibility issues with this option.
For example, if your page contains a sticky header, the sticky header in the Assess report may interfere and overlap as the user scrolls through the report. Likewise, if you have other absolutely positioned elements on your page, they may be covered or hidden by the embedded Assess report.
Like the iframe embed, the width of the container you place the code in will dictate the width of the report. If the report is in a fixed-height container, it will force the report to scroll inside that container.
The script embed utilizes a Shadow DOM, so styles should be safely separated between the parent page and the Assess report.