What is the ideal way of creating an AEM live chat component.
It would be Salesforce chat that would be used for integration.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @parakh
Idle way to integrate SFDC Live Chat agent to Adobe AEM is by embeeding the javascript snippet provided by Sales Force in AEM Page
Example:
<script type="text/javascript"> if (!window._laq) { window._laq = []; } window._laq.push(function(){liveagent.showWhenOnline('5734F000000CaS5',document.getElementById ('liveagent_button_online_5734F000000CaS5')); liveagent.showWhenOffline('5734F000000CaS5', document.getElementById('liveagent_button_offline_5734F000000CaS5')); }); </script> <script type='text/javascript' src='https://c.la2-c1cs-ord.salesforceliveagent.com/content/g/js/42.0/deployment.js'></script> <script type='text/javascript'> liveagent.init('https://d.la2-c1cs-ord.salesforceliveagent.com/chat', '5724F000000CaRH', '00D4F0000008fZB'); </script>
Hi @parakh
Idle way to integrate SFDC Live Chat agent to Adobe AEM is by embeeding the javascript snippet provided by Sales Force in AEM Page
Example:
<script type="text/javascript"> if (!window._laq) { window._laq = []; } window._laq.push(function(){liveagent.showWhenOnline('5734F000000CaS5',document.getElementById ('liveagent_button_online_5734F000000CaS5')); liveagent.showWhenOffline('5734F000000CaS5', document.getElementById('liveagent_button_offline_5734F000000CaS5')); }); </script> <script type='text/javascript' src='https://c.la2-c1cs-ord.salesforceliveagent.com/content/g/js/42.0/deployment.js'></script> <script type='text/javascript'> liveagent.init('https://d.la2-c1cs-ord.salesforceliveagent.com/chat', '5724F000000CaRH', '00D4F0000008fZB'); </script>
Views
Likes
Replies