-
-
Hi!
Im about to integrate a chatting service on my website and i’ve gotten the code that should be placed before </body>. How can i do that?
Its a script.
Best regards,Kim
-
Hello,
I don’t know which chat service have you used before, but i can suggest you to use Drift.com that can be installed directly with a plugin.
Let me know.
Regards!
-
Hi,
I already have a chat service. And ive gotten their code looking like below.
How do I implement this on my website?
<div dir="ltr" style="padding-top: 0px; border-top: 0px;">
<div class="WordSection1" style="page: WordSection1;">
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><script type="text/javascript"></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">(function(d, src, c) { var t=d.scripts[d.scripts.length - 1],s=d.createElement('script');s.id='la_xxxxxxx';s.async=true;s.src=src;s.onload=s.onreadystatechange=function(){var rs=this.readyState;if(rs&&(rs!='complete')&&(rs!='loaded')){return;}c(this);};t.parentElement.insertBefore(s,t.nextSibling);})(document,</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">'https://psservice.liveagent.se/scripts/track.js',</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">function(e){ LiveAgent.createButton('5015fcaf', e); });</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"></script></p></div>
</div>- This reply was modified 5 years, 9 months ago by imme.
-
Hello,
You can add this code into header.php file. Normally this will be better to create a child-theme and overwrite only header.php file.
Let us know.
Regards!
-
You must be logged in to reply to this topic.