Quickstart
There are 2 components you need to add your page.
You need to include our poltio.js in your page. (Optional if you want your content to be automatically loaded, resized. )
<script async>
!(function (o, e, t, n, d, f, p) {
if (!o.poltio || !o.poltio.push) {
o.poltio = {
queue: [],
push: function (e, t, n) {
o.poltio.queue.push([e, t, n])
},
}
var c = e.createElement(t)
;(c.async = !0), (c.src = `${d}/${f}?p=${p}&r=${n}`)
var r = e.getElementsByTagName(t)[0]
r.parentNode.insertBefore(c, r)
}
})(
window,
document,
'script',
encodeURIComponent(window.location.href),
'https://sdk.poltio.com',
'poltio.js',
'{{your_poltio_id}}',
)
</script>
And you need to add our widget area:
<div class="poltio-widget-flying" data-poltio-widget-content="XXXX"></div>
Or you can include our Iframe directly:
<iframe
id="poltio-embed-XXXX"
class="poltio-embed"
loading="lazy"
src="https://www.poltio.com/widget/XXXX"
width="100%"
height="800"
frameborder="0"
allowfullscreen="allowfullscreen"
scrolling="yes"
title="Embed"
allow="clipboard-write"
>
</iframe>