Skip to content

JavaScript API

If you have multi page website, you will most likely need basic installation. You will want to add the code below near </body> tag:

js
<script>
   window.screetsxi = {
     appid: "APP_ID",
   };
   (function(){var w = window;var i = function() { i.c( arguments ); };i.q = []; i.c = function( args ) { i.q.push(args); };w.scxi = i;w.addEventListener( "load", function() {var b = document.createElement("script");b.src = 'https://widget.screets.io/_/'+w.screetsxi.appid;b.async = !0;document.head.appendChild(b);}, !1 );})();
</script>

TIP

In the code above, you will want to change appid option with your Application ID (i.e. 507f191e810c19729de860ea.tokyo).