Home > Technical Support > Features and functions > Chat > Chat for mobile apps and inline chat

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.

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us

support@liveagent.com

+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020 LiveAgent.com, All rights reserved