Skip to main content
Demomatic automatically tracks three engagement metrics for every demo video you publish. You can view stats at the individual video level or rolled up across an entire domain.

Metrics

Unique views

Counts each distinct viewer once. Demomatic identifies logged-in viewers by user ID and anonymous viewers by a hashed IP address.

Leads

Form submissions captured when a viewer fills in your CTA form. Each lead includes the submitted field values.

Link clicks

Clicks on external CTA links, such as a Calendly or booking URL. Each viewer is counted once per video.
link_clicks is always 0 for videos with a form CTA. leads is always 0 for videos with an external link CTA. Both fields are present in every response for consistency.

How view tracking works

The video player automatically calls POST /videos/:id/view when a viewer watches a video. No authentication is required — the endpoint works for both logged-in and anonymous viewers. Calling it more than once for the same viewer has no effect; the backend deduplicates by viewer identity.

Viewing stats

Retrieve counts for a single video. Requires authentication.
GET /videos/:video_id/stats
Response
{
  "data": {
    "views": 142,
    "leads": 18,
    "link_clicks": 0
  }
}

Stats fields

views
number
Total unique viewers for the video or domain.
leads
number
Total CTA form submissions. Only non-zero when cta_type is form.
Total unique clicks on the external CTA link. Only non-zero when cta_type is external_link.