• Nandita Shah 10
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
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>