Web SDK
- How to deploy a bot on my website?Introduction The Haptik JavaScript SDK is a completely modular conversational interface. It renders a complete chat experience that can be easily integrated…
- How to set up a launch message on my website bot?You can launch the Bot with a task or message on behalf of the user. Haptik provides the following methods for doing so. launchTask(taskId, callback) Launches…
- What are the SDK customization methods available?Client Accessible SDK When the SDK loads, it exposes a Javascript SDK. This Javascript SDK can then be used to programmatically control some of the behavior of…
- Which all browsers is my website bot compatible on?The SDK is capable of running across all modern browsers and web views across devices. Below are the list of supported desktop browsers Desktop Browser Base…
- How to keep my website bot always open?In some cases, the SDK needs to be embedded in standalone pages where the SDK should be open by default and is not allowed to be minimized. Within…
- How is website bot different from a native app bot?There are two ways to integrate the bot in Android/iOS: Native SDK is installed right inside your app. Your Android app opens up Haptik's Web SDK only as a…
- How to delay the loading of Web SDK?If you want to delay the loading of Web SDK, you can make use of the delay parameter. This parameter will defer the loading of Web SDK till a specified amount…
- How to deploy a logged-in bot on my website?Overview User authentication on the SDK is disabled by default . Whenever a user opens the SDK for the first time, a new anonymous user is created. This user's…
- How to have a custom icon for my website bot?You can use a custom chat button instead of the default one that comes with the SDK. Within haptikInitnitSettings we need to add the following setting. This…
- How to customize my website bot?Customizing the SDK The SDK can be configured in a variety of ways to fit in seamlessly with the overall experience of the parent application. These settings…
- Does Web SDK support native platforms?(Legacy)The SDK supports integrations with Native platforms such as iOS and Android. This is done with the help of a Web View. Android To ensure that the SDK loads up…
- How to change the default language on my website bot?SDK also supports multi-language bots where the user can seamlessly switch between multiple languages. The default language first loaded can be changed by…
- What are SDK Events? How to use these SDK events?You can deploy Haptik's bot either with the Haptik UI or as an API. Haptik offers its own UI in the form of an SDK. Now users can take numerous actions on this…
- How to Set Ignore-Storage Property on Haptik botsIn order to set the Ignore-storage property while initializing Haptik bots, you can use the following: For Android , you can set ignore-storage using the…