FAQ - Embed Code - Live Chat 3

Embed Code - Live Chat 3

12.11.2016 6304

With Live Chat 3 there is only one embed code that will never change again. All settings are made within the operator panel and are immediately available on your website.

It has been designed to run on pure Javascript without any library like jQuery. Therefore we have no conflicts with any elements on your website.

The embed code can be found in your operator panel - chat widget and paste it into your website right above the last body tag. Select the one you have or create a new one (when available). Your embed code will look like this:

<!-- live chat php widget -->
<script type="text/javascript">
	(function(w, d, s, u) {
		w.id = 1; w.lang = ''; w.cName = ''; w.cEmail = ''; w.cMessage = ''; w.lcjUrl = u;
		var h = d.getElementsByTagName(s)[0], j = d.createElement(s);
		j.async = true; j.src = 'https://www.yourdomain.com/js/jaklcpchat.js';
		h.parentNode.insertBefore(j, h);
	})(window, document, 'script', 'https://www.yourdomain.com');
<div id="jaklcp-chat-container"></div>
<!-- end live chat php widget -->

Add dynamic language into w.lang = 'de' or customer name, email address and / or message.

All settings you adjust below the embed code in your operator panel will reflect to only the code above, that way you can have unlimited embed codes with different designs and settings.