Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
I have read through a number of forum posts and the online documentation but I am still unable to retain the chat session when switching between pages on the site. I have checked the configuration files in accordance with the documentation posted online.
Use secure cookies is disabled
Disable HTML5 storage is checked
Reopen chat functionality enabled is checked
Reopen closed chat as new is checked
Automatically reopen chat on widget open is checked
Allow user to reopen closed chats is checked
The following is the script embedded in the site:
var LHCChatOptions = {};
LHCChatOptions.opt = { widget_height: 340, widget_width: 300, popup_height: 520, popup_width: 500, domain: 'livechat-dev.benefitalign.com' };
(function () {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var refferer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://') + 1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//livechat-dev.benefitalign.com/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/0/1/2/3?r=' + refferer + '&l=' + location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
Offline
Domain invalid.
Please use just benefitalign.com it has to be site domain where embed code is included.
Offline
Would I make that change in both the .opt location as well as the po.src?
Offline
Just change domain: 'livechat-dev.benefitalign.com'
this to
domain: 'benefitalign.com'
It has to be domain where lhc javascript code is embeded. That's all.
Offline
Pages: 1