Poltio WebSDK

This guide explains how to integrate our JavaScript SDK in order to display Poltio Widgets on your website.

Poltio Tag also automatically adjusts the height of any embedded iframe, ensuring that the widget fits its content without requiring manual configuration.

Installation

Your Poltio Tag is unique to your account, so instead of copying it from this page you get it ready to use from Poltio Panel. Open the sidebar and click Poltio Tag under Resources.

Poltio Tag entry under Resources in the Poltio Panel sidebar

A dialog opens with the tag already filled in with your Account ID. Copy it with the button in the top right corner of the code box, then paste it into your site.

Setup Poltio Tag dialog with the ready to copy tag

The same dialog also lets you check your work: enter one of your page URLs at the bottom and click Check Poltio Tag to confirm the tag is live. Allow 5-10 minutes after deploying before you check.

Setup

  • You need to insert Poltio Tag to all the pages you want to display Poltio Triggers & Widgets.

  • If you want to track conversions, it is required and recommended to install Poltio Tag to all product detail pages and checkout success page as well.

Setup with PUID

If you want to match poltio voters with your own users in a safe way, tick the PUID checkbox in the Setup Poltio Tag dialog before copying. The tag then carries an extra parameter for your own user identifier.

Setup with Custom ID

Tick Custom ID in the same dialog if you need a secondary identifier for the session alongside PUID. It is reported back to you the same way.

Integrations

Webhook

Webhooks allows you to share widget actions realtime in json format to connect with other applications.

Read more

Sheethook

Sheethooks allows you to connect a Google Sheet with your content to get user interactions in realtime

Read more

Pixelcode

PixelCodes allows you to share Widget events with external systems via javascript, iframe or image pixels real time. (Eg: Facebook Pixel, GTM, etc...)

Read more

Google Tag Manager

Recieve your users realtime interactions with Poltio Widgets on your Google Tag Manager or Google Analytics

Read more

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.

Read more