Introduction
The Huggy Chat is a channel of conversation that can be added to your site for receive messages and interact with your customers instantly. This document wish to facilitate the understanding of the methods that can be used to optimize your attendances. You will be able to access all the available methods through the Huggy
object in any page that the Huggy Chat was inserted.
Following, there is a summary of all methods available at the Huggy object and that you can call using javascript
.
Installing
⚠️ This code is an example. Don't use in your site. Each Huggy Chat has a specific code that can be localized in the channel's settings page. For more information how to install Huggy Chat
<!-- Init code Huggy Chat //-->
<script>
var $_Huggy = {
defaultCountry: '+1',
widget_id: '0001',
company: "0001"
};
(function(i,s,o,g,r,a,m){ i[r]={context:{id:'8551dbde3f168db249381597eea81c71'}};a=o;o=s.createElement(o); o.async=1;o.src=g;m=s.getElementsByTagName(a)[0];m.parentNode.insertBefore(o,m); })(window,document,'script','https://js.huggy.chat/widget.min.js?v=8.0.0','pwz');
</script>
<!-- End code Huggy Chat //-->
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11