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
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

