Custom variable configuration

Créé: 09/03/2018
Dernière mise à jour: 09/03/2018
Nombre de vues pour le message: 1483

It's always good to have as much information about your conversation available as possible. Having detailed data about your interlocutor can help you resolve their issues more quickly or drive the sales process more efficiently. With that in mind we have added a way for you to pass custom variables to our live chat operator's panel.

To start passing custom variables to your chat operator's window you will have to modify your code snippet. The snippet can be obtained by going to Settings > Live chat settings and clicking on your chat's name. Your snippet will look simliar to this one:

Sample Sugester live chat snippet

Text version:

<!-- sugester.com online chat "Your chat name" -->
<script> //var sugesterChatLogin = "Your user login"</script>
<script src="https://s3-eu-west-1.amazonaws.com/dev1.sugester.com/0/k/accountName/chat/#############/widget.js"></script>
<script> var sugesterChatInfo = "<br/>custom variable: ABCDEF123456<br/>" </script>
<!-- sugester.com online chat END -->

To start passing your custom parameter, you have to define the variable sugesterChatInfo. Its value can then be formatted using HTML.

Example custom variable in Sugester live chat

Back 
 


Retour


Ajouter un commentaire