LiveChat https://www.livechat.com provides a powerful and extensible platform for chat. You can integrate LiveChat with CloudRadial including setting the user's name and email from their CloudRadial log in.
To integrate:
- Go to Partner > Settings and choose the Integrations option on the right.
- Choose the Header Scripts option and enter the code below. Replace the LiveChat widget code with your script.
- Save your settings and refresh the page.
Your LiveChat icon should appear at the bottom right of the screen. The username and email are prefilled so when a chat is started, the user's name and email will appear in the chat.
<!-- Start of LiveChat (www.livechatinc.com) code -->
<script>
window.__lc = window.__lc || {};
window.__lc.license = <LICENSE_NUMBER>;
;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice))
</script>
<noscript><a href="https://www.livechatinc.com/chat-with/<LICENSE_NUMBER>/" rel="nofollow">Chat with us</a>, powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a></noscript>
<!-- End of LiveChat code -->
<script>
function CloudRadialUserInit(email, displayname, companyname) {
LiveChatWidget.call('set_customer_name', displayname);
LiveChatWidget.call('set_customer_email', email);
}
</script>
Comments
0 comments
Please sign in to leave a comment.