Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

LivePerson default chat client - send custom variables?

$
0
0

Hi,

 

We are having problems with sending custom variables using default button and default monitor code.

For basic tests we used simple HTML page, already mentioned default button and monitor code with some definitions of custom variables.

 

When I use IE, custom variables are showed correctly each time on starting chat in agent console.

On the other hand, when I use Chrome, even without any modifications to the code, it will not send custom variables (they are not visible at all in agent console).

 

Example Code for custom variables is:

 

<!-- BEGIN Monitor Tracking Variables  -->

<script type="text/javascript">

if (typeof(lpMTagConfig) == "undefined"){ lpMTagConfig = {};}

if (typeof(lpMTagConfig.sessionVar) == "undefined"){ lpMTagConfig.sessionVar = [];}

lpMTagConfig.sessionVar[lpMTagConfig.sessionVar.length] = 'test=test';

</script>

<!-- End Monitor Tracking Variables  -->

 

Does anyone have any clue what is a problem?

 

Thanks.

 

 


Viewing all articles
Browse latest Browse all 2324


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>