Widget test site
Pages for testing the chat widget's self-serve setup against Adam's sandbox (US). Each page installs the widget a different way.
| Page | What it tests |
|---|---|
| Key only | The launcher snippet pasted as-is. The look comes from the published theme. |
| Staging key | The same snippet with the Staging key. Same theme as Live. |
| Customised | Embed code with customisations. Fields set in code win, field by field. |
| Per page | One page with its own title and colour. |
| Strict CSP | The snippet under a strict Content Security Policy. Lists anything blocked. |
| Signed in | A token minted by this site's server for a fixed test customer. |
| Old npm | An app built with an old @lorikeetai/web-sdk from npm (the legacy path). |
The customised, per-page, signed-in and old-npm pages use the
Staging key on a "staging" address or with ?env=staging.
The key-only and strict-CSP pages always use the Live key, and the
staging page always uses the Staging key, because their pasted code
has a fixed key. The customised, per-page and signed-in pages also take
?script= (another build of widget.js on
resources.lorikeetcx.ai) and ?api_base= (another chat
app on lorikeetcx.ai).