Basic Taku widget installation

To install the Taku widget all you need to do is copy the following script to your website:

1
<html>
2
<body>
3
...
+
<script>
+
!function(t,e,a,n){function c(){if(!e.getElementById(a)){var t=e.getElementsByTagName(n)[0],c=e.createElement(n);c.type="text/javascript",c.async=!0,c.src="https://cdn.taku-app.com/js/latest.js",t.parentNode.insertBefore(c,t)}}if("function"!=typeof t.Taku){var s=function(){s.q.push(arguments)};s.q=[],t.Taku=s,"complete"===e.readyState?c():t.attachEvent?t.attachEvent("onload",c):t.addEventListener("load",c,!1)}}(window,document,"taku-js","script");
+
window.Taku('news:boot', {
+
api_public_key: 'Your public API key. You will get it after sign up.',
+
});
+
</script>
10
</body>
11
</html>

After completing these steps, the Taku widget should be visible on your website.

Next steps

For more information on what to do next, we recommend the following sections: