Install the widget on your website

Instaling the widget on your website is crucial for getting a full Closer experience. You might need to ask your developer to do that for you.

Copy and paste the script below into the <head> of every page, where you want the Closer widget to be displayed:

<script>
(function(c,l,o,s,e,r){c.closer=c.closer||{q:[]};["init","identify"].forEach(function(m){c.closer[m]=function(){this.q.push({method:m,args:arguments});}});c.closer["scriptUrl"]=s;e=l.createElement(o);e.async=1;e.src=s;r=l.getElementsByTagName(o)[0];r.parentNode.insertBefore(e,r);})(window,document,"script","https://widget.closer.app/widget.js");
</script>

After that, you can use the init method to render the widget. The orgId parameter is obtained from the widget configuration page in Closer.

closer.init({
  orgId: "00000000-0000-0000-0000-000000000000",
});

If your site runs on Wordpress, download our free plugin from https://wordpress.org/plugins/closer-chat-video-calls-for-sales and paste the Company ID below in the Closer Settings configuration tab.

Last updated