This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Insert Chatbot Code Snippet #460
Comments
@wdprice |
All pages @nikolay83 |
yoution
added a commit
to yoution/taas-app
that referenced
this issue
Aug 12, 2021
nikolay83
added a commit
that referenced
this issue
Aug 12, 2021
Verified in Dev, Chatbot is there on all pages for logged in or anonymous users except on checkout page. Observed the below:
@wdprice Are we ok with the above for now? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code needs to be added for a chatbot to appear on the page:
<script type="text/javascript"> window._chatlio = window._chatlio||[]; !function(){ var t=document.getElementById("chatlio-widget-embed");if(t&&window.ChatlioReact&&_chatlio.init)return void _chatlio.init(t,ChatlioReact);for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline", "page", "open", "showOrHide"],a=0;a<i.length;a++)_chatlio[i[a]]||(_chatlio[i[a]]=e(i[a]));var n=document.createElement("script"),c=document.getElementsByTagName("script")[0];n.id="chatlio-widget-embed",n.src="https://w.chatlio.com/w.chatlio-widget.js",n.async=!0,n.setAttribute("data-embed-version","2.3"); n.setAttribute('data-widget-id','df6d6a4d-7193-4eaf-648b-4569f0e6b262'); c.parentNode.insertBefore(n,c); }(); </script>
The text was updated successfully, but these errors were encountered: