Skip to main content
A CTA (call-to-action) is an overlay that appears with your demo video. Use it to collect lead information from viewers or send them to an external link — such as a Calendly booking page. CTAs are configured per domain and apply to any video with 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 with PUT /domains/:id:

Domain CTA fields

Form field configuration

Each entry in cta_fields follows the CtaFieldConfig shape: Fields are displayed in the order they appear in the array. To use an external link instead of a form:
When cta_type is "external_link", submitting a form via POST /videos/:id/cta-submit returns a 400 error. Use link-click tracking instead.

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

When cta_type === "form", render the fields from cta_fields and submit the data to:
No authentication is required for this endpoint. When cta_type === "external_link", record a click before opening the external URL:
Clicks are deduplicated per viewer — calling this endpoint multiple times for the same viewer is safe.

Auto-opening the modal

When cta_modal_auto_open is true, open the CTA modal when the video’s ended event fires:

Choosing the display name

Use cta_use_organization_name to determine which name to show in the CTA: