To learn more about the Chameleon Demos product, visit our product documentation.Documentation Index
Fetch the complete documentation index at: https://developers.chameleon.io/llms.txt
Use this file to discover all available pages before exploring further.
Show the Demo (chmln.show())
Call chmln.show with the Chameleon ID of the Demo (part of the Demo URL, or copyable from the dashboard slideout).
Thekind: 'demo'option is required to distinguish Demos from Tours, which also usechmln.show.
Finding the Demo ID
- Open the Chameleon Dashboard.
- Navigate to the Demo you want to trigger.
- Copy the ID from the URL or use the “Copy ID” option in the dashboard slideout.
Options
| Option | Default | Description |
|---|---|---|
kind | - | Required. Must be 'demo' to show a Demo. |
use_segmentation | false | Whether to apply the Audience (Segmentation) before showing. If true, the Demo only shows if the user matches the configured Segment. |
once | false | Whether to check if the user has already seen this Demo. If true, it will not show again for users who have already completed it. |
Examples
Show a Demo immediately:Consent handling
When embedding Demos on your marketing website for anonymous visitors, you may need to handle consent. Use thedata-consent-mode attribute on the Demo iframe element:
consent_mode to "granted" enables features like Clearbit Reveal for identifying anonymous traffic. See the demo.reveal webhook for details.
See also:
- Show a Tour — trigger Tours via JavaScript
- Start an Automation — trigger Automations via JavaScript
- Demos REST API — manage Demos via REST API
- Demo webhooks — receive Demo interaction events

