Skip to Content

Surveys

All events below include the Base Context Fields in addition to the event-specific fields listed for each event.

Base Context Fields

FieldTypeDescription
siteIdstringThe unique site ID
userIdstringThe unique user ID
pageIdstringThe unique page ID
pageSlugstringThe page slug

Event Reference Table

Event NameEvent KeyAdditional Fields (beyond base)
Survey Submittedsurvey-submittedsurveyId (string), responses (object)
Survey Viewedsurvey-viewedsurveyId (string)
Survey Screen Viewedsurvey-screen-viewedsurveyId (string), screenId (string)
Survey Screen Startedsurvey-screen-startedsurveyId (string), screenId (string)
Survey Screen Finishedsurvey-screen-finishedsurveyId (string), screenId (string)
Survey Form Field Touchedsurvey-form-field-touchedsurveyId (string), fieldId (string)

Example Event Payloads

Survey Submitted

Description: Triggered when a user completes and submits a survey. Captures all responses for the survey fields.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string" }

Survey Viewed

Description: Triggered when a user first views a survey. Used to track survey impressions and engagement.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string" }

Survey Screen Viewed

Description: Triggered when a user views a specific screen (page) of a multi-page survey. Used to track navigation and engagement within the survey.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string", "screenId": "string" }

Survey Screen Started

Description: Triggered when a user begins interacting with a specific screen (page) of a survey, either by touching a field or clicking to continue. Used to track the start of engagement on each survey screen.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string", "screenId": "string" }

Survey Screen Finished

Description: Triggered when a user completes a specific screen (page) of a survey, typically by clicking next or submitting that page. Used to track completion and progress through the survey.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string", "screenId": "string" }

Survey Form Field Touched

Description: Triggered when a user interacts with (focuses or changes) a specific field on a survey screen. Used to track field-level engagement and activity.

{ "siteId": "string", "userId": "string", "pageId": "string", "pageSlug": "string", "surveyId": "string", "fieldId": "string" }