1-877-548-3001 Sign in About Contact
Developer

Embed Chat

To include the chat on your website you will need to create a container element with a unique id attribute. You should also place this on all pages of your website so chats are not lost while a visitor navigates your site. Once you have the containing element, you can now add the following javascript code to your website, replacing element_id with the id of the container element and window_id with the chat window id:

function lhnJsSdkReady(){
  lhnJsSdk.embedChat("element_id", window_id);
}

Please note: You will need to provide all CSS for returned elements. Only HTML is provided


Embed Knowledge Base Search

To include the knowledge base search on your website you will need to create a container element with a unique id attribute. You can now add the following javascript code to your website, replacing id with the id of the container element:

function lhnJsSdkReady(){
  lhnJsSdk.embedKbLookup("element_id");
}

Please note: You will need to provide all CSS for returned elements. Only HTML is provided


Embed Ticket Form

To embed a ticket form on your website you will need to create a container element with a unique id attribute. You can now add the following javascript code to your website, replacing element_id with the id of the container element and window_id with the callback window id:

function lhnJsSdkReady(){
  lhnJsSdk.embedTicket("element_id", window_id);
}

Please note: You will need to provide all CSS for returned elements. Only HTML is provided


Embed Knowledge Base Article

To embed a knowledge base article on your website you will need to create a container element with a unique id attribute. You can now add the following javascript code to your website, replacing article_id with the id of the article you want to embed and element_id with the id of the container element:

function lhnJsSdkReady(){
  lhnJsSdk.embedKbArticle(article_id, "element_id");
}

Please note: You will need to provide all CSS for returned elements. Only HTML is provided


Embed Callback Form

To embed a callback form on your website you will need to create a container element with a unique id attribute. You can now add the following javascript code to your website, replacing element_id with the id of the container element and window_id with the callback window id:

function lhnJsSdkReady(){
  lhnJsSdk.embedCallback("element_id", window_id);
}

Please note: You will need to provide all CSS for returned elements. Only HTML is provided