JavaScript API Overview
Learn how to use the UserGuiding JavaScript API.
Once UserGuiding is correctly installed on your website, a whole toolbox of methods
and callback functions are readily available through UserGuiding's JavaScript API (JS API).
In the example below, a Guide is being triggered through the userGuiding.previewGuide() method, one of the available commands from our API.
The browser console is used here to illustrate it. However, in a real scenario, you'd call these methods and callback functions directly from your website's source code. You can share this article with your development team for help.
Important: Remember that all the JavaScript commands mentioned in this article should be positioned and called after the Container code.