LiveZilla Live Chat
EN  DE Please sign in or register Hi
An efficient chat application that has a user friendly GUI, nicely designed, with a not too complicated...
Anthony Acevedo
Show all reviews

Frequently Asked Questions

How can I pass-thru visitor information?

Please make sure that you are using the static code if you want to pass data through from your website to the Chat Button. Since data pass-thru will only be possible with a static code.

LiveZilla allows you to pass visitor related information (like name, email ...) from your website into the chat (login) form. This information can also be used with the visitor monitoring to identify your visitors on your website.

To make use of this, please follow the steps below:

  1. Open the Link Generator and create a new chat button or text link.

  2. Hit Data and choose the input field(s) you want to pass data to.

  3. You can either pass static (=same for all visitors) or dynamic (=different data for each visitor) information. If you want to pass-thru static information, please fill the regarding fields with the information you like to pass to your operators. If you like to pass-thru dynamic information (from your website), please check I want to pass-thru dynamic data from my website and placeholders will be set. Hit Ok and copy the script.

  4. Embed the script into your website's source code (static) or template file (dynamic).

Please note:
If you pass dynamic information, please replace each placeholder with the base64Url-encoded data when dynamically generating your website "pages" on php/asp/perl/java side.

Please note that all data needs to be UTF-8 encoded first, in order to get base64Url encoded correctly.

Related PHP Function:

function base64UrlEncode($_input)
	return str_replace(array('=','+','/'),array('_','-',','),base64_encode($_input));

Basic example:

$name = "Name of the website visitor";
$html = "HTML code of your website";
$code = "LiveZilla code";
$code = str_replace("<!--replace_me_with_b64url_name-->",base64UrlEncode(utf8_encode($name)),$code);
$html = str_replace("<!--code-->",$code,$html);
echo $html;

Return to FAQ