Skip to content

Guides

Surveys

Show in-app surveys with the browser SDK, or collect answers in your own UI through the API.

Popover surveys

Create a survey in Surveys → New survey, add questions (open text, rating, single or multiple choice, link), choose colours and position, then set the conditions: URL, CSS selector, delay, feature flag and how often it repeats.

The browser SDK shows running popover surveys by itself. Nothing to code.

API surveys

Want your own UI? Choose the API type, read the survey and send answers as events:

feedback.ts
tracklyne.getActiveMatchingSurveys((surveys) => {
  // draw them in your own UI
});

tracklyne.capture("survey sent", {
  $survey_id: survey.id,
  [`$survey_response_${question.id}`]: 9,
});

Results

Answers are events, so you can chart them, filter insights by them and open the session replay of any respondent.