liveagent.showWhenOnline('5737F000000PCZJ', document.getElementById('btnId'));

In the above code, 5737F000000PCZJ this Id has been used.

Can anyone please explain what is this number and how can we get it.


You can use LiveChatButton object to get chat button id.

select id,MasterLabel  from LiveChatButton

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.