Belco

Belco Messenger Beta

We've build a totally chat widget from the ground up with focus on mobile performance. The BETA can now be installed manually with the new Javascript snippet and we also have new BETA plugins for Magento and Magento 2

Javascript snippet BETA

To run the new BETA widget on your site you need to add a new load script to your website. The APIs haven't changed and can be found here.

<script>
window.belcoConfig = {
  shopId: '[your-shop-id]'
};
</script>
<script>
!function(n,o){var e=window.belcoFunction||"Belco";window[e]||(window[e]=function(n){if(void 0===window[e][n])throw new Error("Unknown method");return window[e][n].apply(window[e],Array.prototype.slice.call(arguments,1))}),window[e]._q=[];for(var i=["init","sync","track","page","open","close","toggle","on","once","off","anonymousId","customer","reset","sendMessage"],t=function(n){return function(){var o=Array.prototype.slice.call(arguments);return o.unshift(n),window[e]._q.push(o),window[e]}},w=0;w<i.length;w++){var r=i[w];window[e][r]=t(r)}window[e].load=function(e){if(!n.getElementById("belco-js")){var i=n.createElement(o);i.async=!0,i.id="belco-js",i.type="text/javascript",i.src="//cdn.belco.io/v2/widget.js",i.onload=function(n){"function"==typeof e&&e(n)};var t=n.getElementsByTagName(o)[0];t.parentNode.insertBefore(i,t)}},window.belcoConfig&&window[e].load(function(){window[e]("init",window.belcoConfig)})}(document,"script");
</script>

Magento 1.9 BETA

https://github.com/forwarder/belco-magento/tree/beta

Composer version code: v0.7.0-BETA

Magento 2 BETA

https://github.com/forwarder/belco-magento2/tree/beta

Composer version code: v0.3.0-BETA

Belco Messenger Beta


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.