Skip to content

Install the widget on WordPress

Add the DICE chat widget to WordPress. It takes about five minutes. Copy your snippet from the portal: Setup checklist → Install the chat widget.

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 shown in your portal (it looks like DICE-7KQ2-001).

Steps

  1. Install a header and footer plugin

    For example WPCode (Insert Headers and Footers). Plugins → Add New → search, install and activate.

  2. Paste the snippet into the footer

    Open the plugin’s settings and paste your DICE snippet into the Footer box. Save.

  3. Clear caches

    If you use a cache plugin or a CDN, clear it so visitors get the new page.

Check that it works

Open your site in a private window. The chat button appears in the bottom corner. The setup checklist marks the step done when the widget first loads on your domain.

The widget does not appear

  • The widget runs only on your website’s domain and the domains listed under Agent settings → Widget → Allowed domains.
  • Clear any cache or performance plugin and reload.
  • A strict Content-Security-Policy on your site must allow scripts and connections to diceautomation.com.

A native DICE plugin for WordPress is on the roadmap. Until then, the snippet above is the supported method.