+ Start a Discussion
Ritika JRitika J 

Live Agent chat button for portal users

Hi ,

 

I want to show live agent chat button for portal users , please suggest me how to do this.

 

 

Thanks in advance

Ritika

Ritika JRitika J

I have  added code of deployment and chat button to footer , but still when i login as portal user i was not able to see  chat button .

here is my code


<h2>This is a title before the footer</h2>
<p></p>

<!-- START Salesforce Live Agent Button/Link Code: Place this code into your HTML wherever you want this button/link to appear -->
<script type="text/javascript">
<a id="liveagent_button_online_573g0000000CaR7" href="javascript&colon;//Chat" style="display: none;" onclick="liveagent.startChat('573g0000000CaR7')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_573g0000000CaR7" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('573g0000000CaR7', document.getElementById('liveagent_button_online_573g0000000CaR7'));
liveagent.showWhenOffline('573g0000000CaR7', document.getElementById('liveagent_button_offline_573g0000000CaR7'));
});</script>

<!-- END Salesforce Live Agent Button/Link Code -->

<p></p>

<script type='text/javascript' src='https://c.la2w1cs.salesforceliveagent.com/content/g/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la2w1cs.salesforceliveagent.com/chat', '572g0000000CaR7', '00Dg00000004qUs');
</script>
<!-- END Salesforce Live Agent Deployment Code -->

</h2>

 

 

please help me on this.

 

Thanks,

Ritika

Live agent integrationLive agent integration

You can paste the chat button code and deployment code in Home page by adding a home page component.