Install the widget on Shopify
Add the DICE chat widget to Shopify. It takes about five minutes. Copy your snippet from the portal: Setup checklist → Install the chat widget.
<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
Open your theme code
Online Store → Themes → the three dots next to your live theme → Edit code.
Edit theme.liquid
Open layout/theme.liquid and paste the snippet right before </body>.
Save and preview
Save the file and preview your store.
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.
To report carts and purchases for recovery and attribution, see Store events. A native Shopify app is on the roadmap.