JavaScript Live Chat API Integration with ClickDesk

Get your customer details on live chats using custom javascript variables
ClickDesk javascript api

Javascript API integration

Do you use custom javascript on your website and would like to get the details of your customer on your IM (Google talk or Skype) instantly? The Javascript developer API allows you to set the variables and retrieve those details on your IM.

Javascript Developer API

chat api javascript

Javascript Integration Features

  • No installation of any addon is required. Just copy and paste 4 lines of code.
  • Receive details from your custom javascript used on your website.
  • Set the reference name and variables to fetch those details on your IM.
  • Get up to 5 profile fields of the customer on your IM even before initiating the live chat.


Guaranteed 99.95% Uptime

CickDesk - Javascript installation guide

javascript api plugin

Step 1: Enable Javascript plugin

  • Login to ClickDesk and add an operator.
  • Get your live chat code and paste it on the web page you would like to receive live chat and voice calls.
  • Go to 'Live Chat' tab and select 'Plugins & Integrations'. Click on 'Javascript API' to configure.

enable live chat api javascript

Step 2: Set the Variables

  • In the plugins section, select 'Javascript API' row.
  • Add javascript variables and their values. This reference name will appear the same in your IM so you can recognize the value.
  • You can add upto 5 javascript variables. Click on Save.

javascript api demo

Step 3: Demo Chat

  • Initiate a live chat to see if the functioning of the javascript API.
  • In this example, you will find that when a live chat is initiated, the variables are detected from the javascript in the website and are integrated with ClickDesk-javascript API. The same information is displayed in the IM with the reference name you saved.
Increase Sales & Conversions with ClickDesk
Combo of Live Chat, Help Desk, Video & VoIP, and Web Analytics