<body>
section of your HTML file:<iframe>
on your website. The <iframe>
requires a DOM element in your HTML code where it will get injected. That can be any block-level HTML element – for example, a <div>
, or <section>
element. <div>
block-level HTML element with id="instantor_div"
inside your HTML:<iframe>
, nor with any iframe-containing DOM element – do not limit heights, the script will actively resize the <iframe>
height to match its inner content height.Product Key
in the example with the the Product key you have received from Instantor. When failing to do so, the Instantor script will fail to load.Instantor
object has been initialised with the correct product key provided by Instantor. Optionally, as described in step 5, you may inject some customer information using the .userParam. <div>
element as containing – the <iframe>
is a block-level element, so it should be avoided injecting it into inline-level element. Use method load
to start the injector. <iframe>
.