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.

1 Answer 1


You can use LiveChatButton object to get chat button id.

select id,MasterLabel  from LiveChatButton

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .