You need to sign in to do that
Don't have an account?
Nandita Shah 10
Live Agent Chat button not appearing on website
I want a chat button to be displayed on my website that says "Chat with Us" where people can click to initiate a chat on VerifiedFirst.com.
This code is embedded in my footer but no button appears. What am I doing wrong?
<script type='text/javascript' src='https://c.la3-c1-was.salesforceliveagent.com/content/g/js/34.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la3-c1-was.salesforceliveagent.com/chat', '572o0000000L5LT', '00Do0000000XzpL');
</script>
<a id="liveagent_button_online_573o0000000L6Ig" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('573o0000000L6Ig')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_573o0000000L6Ig" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573o0000000L6Ig', document.getElementById('liveagent_button_online_573o0000000L6Ig'));
liveagent.showWhenOffline('573o0000000L6Ig', document.getElementById('liveagent_button_offline_573o0000000L6Ig'));
});</script>
This code is embedded in my footer but no button appears. What am I doing wrong?
<script type='text/javascript' src='https://c.la3-c1-was.salesforceliveagent.com/content/g/js/34.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la3-c1-was.salesforceliveagent.com/chat', '572o0000000L5LT', '00Do0000000XzpL');
</script>
<a id="liveagent_button_online_573o0000000L6Ig" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('573o0000000L6Ig')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_573o0000000L6Ig" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573o0000000L6Ig', document.getElementById('liveagent_button_online_573o0000000L6Ig'));
liveagent.showWhenOffline('573o0000000L6Ig', document.getElementById('liveagent_button_offline_573o0000000L6Ig'));
});</script>
You need use liveagent_invite_button_573x0000000001O instead of liveagent_button_online_573o0000000L6Ig. Please see example below
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks,
Alex
Setup -> Customize -> Live Agent -> Chat Buttons & Invitations -> choose item with "Automated Invitation" type - scroll down to "Automated Invitation Sample Code". There you can find example of code "The following code sample shows what the automated invitation will look like on your page."
Copy&Paste this example to you page.
Thanks,
Alex
Regrds,
Nirmal
Automated Button - Something dynamic. You can choose after how much duration the button will be popped up on the screeen including the directions from where you want it.
Thanks ..