LiveZilla Live Chat
EN  DE Please sign in or register Hi
This program installs very easily. Even when using a remote database on an offsite server. Initially,...
Richard Chehovin
Show all reviews

Frequently Asked Questions

How can I pass-thru visitor information?

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 code.

  2. Switch to Data tab.

  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 (like <!--replace_me_with....-_>) when dynamically generating your website "pages" on php/asp/perl/java side.

Depending on the element type you like to use (Onsite Widget, Floating Button or Classic Chat button) you may need to encode the data. The placeholder will indicate if base64url encoded data is expected.

Related PHP Function to base64UrlEncode your data:

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_base64_url_encoded_name-->",base64UrlEncode(utf8_encode($name)),$code);
$html = str_replace("<!--code-->",$code,$html);
echo $html;

Return to FAQ