Poltio Web SDK Javascript API
If you are planning to use Poltio Widgets on your site, you need to add additional features by using our Javascript SDK. By default, poltio.js will find poltio div in your html markup and converts it to a slideover widget or an iframe code.Also by using our SDK, you can load content based on the page url dynamically or update the height of the iframe based on the content.
index.html
<div class="poltio-widget" data-poltio-widget-content="XXX"></div>
<script
defer
src="https://sdk.poltio.com/poltio.js">
</script>
Integrations
Webhook
Webhooks allows you to share widget actions realtime in json format to connect with other applications.
Sheethook
Sheethooks allows you to connect a Google Sheet with your content to get user interactions in realtime
Pixelcode
PixelCodes allows you to share Widget events with external systems via javascript, iframe or image pixels real time. (Eg: Facebook Pixel, GTM, etc...)
Google Tag Manager
Recieve your users realtime interactions with Poltio Widgets on your Google Tag Manager or Google Analytics
Widget
Poltio helps you go online with Poltio Widgets faster by eliminating the task for you to design a place where Poltio Widgets appear in your web page.