How to pass additional variables to online visitors list.

Last modification: 2014-04-19 16:00:11

Let say you want to pass more information about online visitor. User ID etc. While you can do that with prefilling forms there was no option to pass additional information in online visitors list. Since 1.96 version you can do that. All you have to do just define what variables you want to pass. E.g

<script type="text/javascript">
var LHCChatOptions = {};

LHCChatOptions.attr_online = new Array();
LHCChatOptions.attr_online.push({'name':'username','value':'Username here'});

... rest of generated embed JS code.

Here is screenshot

This feature is not supported in page embed mode.

Support project

Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!

Paypal, one time donation
Monthly donation

comments powered by Disqus