Integrating Widget

  • Go to the Dashboard & Copy the script tag to the code of your website between <head> ... </head> tags or before the </body> tag. Example of <script/> tag is as follows:

    <script>
      window.ttAsyncInit = function() {
        TT.init({
          publicKey: "your public key will be mentioned here",
        }, function() {
          TT.loadWidgetsOnPage();
        });
      };
      (function (d, s, id) {
        var js, tjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s);
        js.id = id;
        js.async = true;
        js.defer = true;
        js.src = "//cdn.trustytribe.com/trusty.js";
        tjs.parentNode.insertBefore(js, tjs);
      })(document, "script", "trusty-jssdk");
    </script>
  • Select the widget of your choice from here and place its div at the appropriate place on your website between the <body>...</body> tags.