How does the script work
Javascript SDK
It installs told on your website, and allow you to use every functions availables.
(function (w, d, e, v, o, l, t){w['ToldWidget']=o; w[o]=w[o] || function (){(w[o].q=w[o].q || []).push(arguments);}; w[o].l=1 * new Date();l=document.createElement(e);t=document.getElementsByTagName(e)[0]; l.async=1; l.src=v; t.parentNode.insertBefore(l, t);})(window, document, 'script', 'https://scripts.told.club/sdk/sdk.js', 'told');
INIT function
Check which surveys in your source are available to be displayed, and if triggers matches will display them.
told('init', {{SOURCE_ID}})
Source ID can be find in the installation page of your souce.