Skip to content

Any website or platform

The chat works on any site that lets you add a script. Send leads from your own forms with the API, and carts with the JavaScript API.

HTML
<script src="https://diceautomation.com/widget/v1/loader.js" data-business-id="YOUR-BUSINESS-CODE" async></script>

Replace YOUR-BUSINESS-CODE with the code from Setup → Install the chat widget.

Add the chat

Paste the snippet above before the closing </body> tag on every page, then publish. Guides for common builders: Wix, Squarespace and Webflow, Magento, OpenCart.

Send leads from your forms

Post the form to your server and call POST /api/v1/leads with a live key (see getting started). Never put an API key in browser code.

Carts and purchases

For recovery and attribution on platforms without a DICE plugin, send cart and purchase events with the widget's JavaScript API: see store events. Live price and order answers need a store connection (WooCommerce, Shopify, ikas or Ticimax).