Install the call widget on your website

--- Important: you must use HTTPS on your website in order to be able to call directly inside your page. Otherwise, the widget will open a new tab (with HTTPS) to be able to place the call. Check out our recommendations to enable HTTPS on your website. ---

The WordPress version of the widget was deprecated at the end of 2019 due to a security limitation introduced by the company, over which Toky has no control. ---

The widget is a piece of HTML code that you can paste on your website that will let your visitors see a call button whenever they visit your page.

This button, when clicked, will establish a phone call that you can answer on the Web App, Smartphone App, cellphone or landline.

How do I get it?

A code generator is built inside Toky's dashboard and you can use it to generate the HTML lines that are needed and to test combinations of texts and colors.

Example of generated code

This is a working example of how the call widget looks when generated.

<script>(function (p) {
var s = document.createElement('script');
s.src = '';
s.onload = function () { Toky("boot", p); };
})({"$username":"tokydev","$option":"1120","$position":"left","$text":"Call us for free!"})

This same code can be pasted into any website and it will show a call widget pointing to Toky's username. Try it yourself here.

Language selection

The default behavior of the widget is to render the language of the browser, provided the browser is in one of the supported languages. Currently, English, Spanish, Portuguese, Italian, and Persian are supported.

If you would like to force certain language to always be rendered despite the language of the browser, you can do it by selecting the language in the widget generation option.

Finally, if you would like to render the widget in other than the 5 languages we support, please write us here because this is also possible 😎.

Where to paste the code?

It is recommended to insert/paste the generated code before the body tag is closed, just before _</body>_.

Last updated