Widget test page

Loads the widget exactly as a customer's site would. Serve this over http rather than opening the file directly — a file:// page sends no referrer, and the allowed-domains check needs one.

npx serve tools/widget-test -l 4173
# then open http://localhost:4173

Dashboard → Widget Customization → Install Widget. It is the data-organization-id in the snippet.

Use http://localhost:3100/embed.js to test against a local dashboard.