Show the plan and station URL in Live Chat

This commit is contained in:
Albert Santoni 2014-12-11 17:40:34 -05:00
parent 183fa7b3a3
commit ad56d6cafb
2 changed files with 9 additions and 3 deletions

View file

@ -5,7 +5,9 @@ function setupLiveChat() {
// this is where we pass custom variables to livechat;
// only pass the client id assigned by WHMCS for now
__lc.params = [
{ name: 'client_id', value: livechat_client_id }
{ name: 'client_id', value: livechat_client_id },
{ name: 'plan_type', value: livechat_plan_type},
{ name: 'station_url', value: livechat_station_url}
];
var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
@ -15,4 +17,4 @@ function setupLiveChat() {
$(document).ready(function() {
setupLiveChat();
});
});