Skip to content

Install the widget on Magento (Adobe Commerce)

Add the DICE chat to a Magento 2 store from the admin, without editing theme files.

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.

Steps

  1. In the Magento admin, open Content → Design → Configuration and edit your store view.
  2. Expand Footer and find Miscellaneous HTML.
  3. Paste the snippet, save, and flush the cache in System → Cache Management.

Carts and purchases

To report carts for recovery and orders for attribution, call DICE.track from your checkout templates: see store events.

Check that it works

Open your store in a private window: the chat button appears in the corner. With a full-page cache or Varnish, flush it after saving.