You can gain more control over the behaviour of your chat button by using a cb_controller. You can specify a preset, assignment group, etc.
In the example below you can see how a chat button is related to the engagement preset support.
Example 1:
<object class="cb_controller">
<param name="target" value="#my_cb_button" />
<param name="preset" value="support" />
</object>
<div class="cb_button" id="my_cb_button">
<div class="cb_online" style="display: none;">
<a class="cb_click" href="#">Text-link or image "Chat with us!"</a>
</div>
<div class="cb_offline">Unfortunately we are offline.</div>
</div>
You can also change the individual texts inside the chat window. We always recommend to configure texts inside the Engagement preset configuration, however there might be situations where this could be useful.
Example 2:
<object class="cb_controller">
<param name="target" value="#my_cb_button" />
<param name="chat_button_send" value="Versturen" />
<param name="chat_text_opening" value="Waar kan ik u mee helpen?" />
<param name="chat_text_opening_enabled" value="1" />
</object>
<div class="cb_button" id="my_cb_button">
<div class="cb_online" style="display: none;">
<a class="cb_click" href="#">Text-link or image "Chat with us!"</a>
</div>
<div class="cb_offline">Unfortunately we are offline.</div>
</div>
Below a table with all advanced parameters:
| Parameter | Description | Example |
| target (required) | Css based reference to html object that contains both the online and offline buttons (indicated with class="cb_online" and class="cb_offline"). This target must also contains the clickable object (indicated with class="cb_click") | <param name="target" value="#my_cb_button" /> |
| preset | Use a predefined engagement preset. Enter the reference to the preset here. This preset will be used as default for this button. All other advanced parameters will overwrite values from the preset. | <param name="preset" value="presetreference" /> |
| agent | Comma seperated list of agent names linked to the object. | <param name="agent" value="mike,thomas,peter" /> |
| group | Comma seperated list of groups linked to the object. Group should be defined with assitance of CoBrowser.net (can also be used in combination with agent) | <param name="group" value="experts,beginners" /> |
| exclude | Comma seperated list of agent names excluded from the object (used in combination with group) | <param name="exclude" value="mike,thomas,peter" /> |
| chat_title | (String) sets the title on top of the chatwindow | <param name="chat_title" value="The XYZ Company Live Chat" /> |
| chat_text_opening | (String) sets the text displayed when a conversation starts | <param name="chat_text_opening" value="Hi, how can I help you?" /> |
| chat_text_opening_enabled | (1 / 0) disabled or enabled opening text as defined above | <param name="chat_text_opening_enabled" value="1" /> |
| chat_text_closing | (String) sets the text displayed when a conversation is being closed | <param name="chat_text_closing" value="Bye bye" /> |
| chat_text_closing_enabled | (1 / 0) disabled or enabled closing text as defined above | <param name="chat_text_closing_enabled" value="1" /> |
| chat_button_send | (String) sets the caption of the 'send' button | <param name="chat_button_send" value="Send message" /> |
|
chat_text_me |
(String) sets the 'Me:' caption (visitors name) | <param name="chat_text_me" value="Me" /> |
| chat_text_speakwith | (String) sets the 'Conversation with:' caption | <param name="chat_text_speakwith" value="You speak with: " /> |
| chat_text_typehere | (String) sets the caption 'Please type here' | <param name="chat_text_typehere" value="Please type here" /> |
| chat_text_istyping | (String) sets the caption shown when an agent types a message | <param name="chat_text_istyping" value="Agent is typing..." /> |
| use_smilies | (1 / 0) disables of enables wether a visitor can use smilies | <param name="use_smilies" value="1" /> |
Comments
0 comments
Please sign in to leave a comment.