Chat for mobile apps and inline chat

How to add LiveAgent chat to your Android or iOS mobile app

If GET parameters are used the chat window opens in a browser (in popup mode).

Available GET Parameters:

cwid - mandatory - valid ID of the chat widget from LiveAgent, you can find it in the chat button integration script, which is located in Configuration -> Chat -> Chat buttons -> edit chat button -> Integration. Here is an example of widget ID with value 71e8b44f:

function(e){ LiveAgent.createButton('71e8b44f', e); }); 

firstName - customer's first name
lastName - customer's last name
phone - customer's phone
email - customer's email
note - note in the beginning of the chat
pt - title (subject) which will be shown in LiveAgent (If there is set e.g. "test", ENG version will be shown "Chat from test")

Example of a basic call just with widget ID: https://URL_to_LiveAgent/scripts/inline_chat.php?cwid=71e8b44f

Styling of a chat window can be edited directly in LiveAgent settings of the chat widget which you are planning to use. You can add your own styles as well with custom CSS code.
 

How to set up inline chat

The same URL and parameters can be used directly in browser to start a chat. You can add it as a link/button to your website or email template. Pre-chat form cannot be used with inline chat.

 

How to set up in-page chat

Chat window can be embedded in another element with <iframe> tag. When the page is loaded, chat starts automatically, pre-chat form cannot be used in this case.

Example

<iframe src="https://URL_to_LiveAgent/scripts/inline_chat.php?cwid=widgetID" style="width: 350px;height: 450px;"></iframe>

Replace URL_to_LiveAgent with the correct URL of your LiveAgent and widgetID with your chat button ID.