cta_enabled set to true.
CTA types
Demomatic supports two CTA types:Form
Displays a modal form that collects information from the viewer. Submissions are stored as leads and accessible from your dashboard.
External link
Displays a button that opens a URL in a new tab — for example, a Calendly scheduling link or a product page.
Configure a CTA on your domain
Update your domain’s CTA settings withPUT /domains/:id:
Domain CTA fields
Form field configuration
Each entry incta_fields follows the CtaFieldConfig shape:
Fields are displayed in the order they appear in the array.
Configure an external link CTA
To use an external link instead of a form:Embedding CTA in your own player
If you embed videos using your own player rather than the Demomatic embed, you can integrate CTA behaviour manually.Handling form submission
Whencta_type === "form", render the fields from cta_fields and submit the data to:
Tracking external link clicks
Whencta_type === "external_link", record a click before opening the external URL:
Auto-opening the modal
Whencta_modal_auto_open is true, open the CTA modal when the video’s ended event fires:
Choosing the display name
Usecta_use_organization_name to determine which name to show in the CTA:
