OnWebChat
OnWebChat is a live chat platform that allows website visitors to communicate with a website operator in real time through an embedded chat window.
Key features include:
- Live chat widget for websites
- Operator dashboard for managing conversations
- Visitor chat history and transcripts
- Offline message collection
- Customisable chat behaviour and appearance
OnWebChat integrates with ShopWired by adding an installation to your website theme to display a live chat widget on your website pages.
Account creation
Account creation
To use OnWebChat with ShopWired, create an account at the OnWebChat website.
Once your account is created, OnWebChat will generate a unique installation script for your website.
Theme installation
Theme installation
OnWebChat provides an installation script that must be embedded into your ShopWired website theme so that the chat widget loads on all pages.
An example of the installation code is shown below:
<script type="text/javascript">
var onWebChat={ar:[],set:function(a,b){if(typeof onWebChat==="undefined"){this.ar.push([a,b]);}else{onWebChat_set(a,b);}},get:function(a){return onWebChat_get(a);}};
(function(){
var ga=document.createElement("script");
ga.type="text/javascript";
ga.async=1;
ga.src=("https:"==document.location.protocol?"https://":"http://")+
"www.onwebchat.com/clientchat/CHAT_ID";
var s=document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(ga,s);
})();
</script>
The script shown above is provided as an example only. You must copy the exact script provided in your own account, as the script and any ID values will be unique to your website.
To add the code to your ShopWired website:
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Paste the OnWebChat script just before the closing
</body>tag - Select
save changes
Recommendations
Recommendations
- Ensure the chat widget loads correctly on multiple pages of your website.
- Test the chat functionality while logged into the OnWebChat operator dashboard.