How do I turn surveys on?
Enable surveys for the site first. Surveys are off by default for a new site, and until you enable them, drafting a survey alone won’t put anything in front of visitors — the widget code never loads. This keeps the tracker lean for sites that don’t use surveys.What question types can a survey ask?
A survey is a sequence of questions. Each question is one of these types:Survey text is rendered as plain text only — the widget never interprets HTML, so a survey can’t inject markup into your page.
How does branching work?
Branching decides which question comes next, so respondents only see what’s relevant:Who sees a survey, and when?
Targeting keeps a survey in front of the right visitors. A survey can be limited by:- URL — show it only on matching pages (exact, contains, does-not-contain, or regex).
- CSS selector — require a specific element to be present on the page.
- Device type — desktop, mobile, or tablet.
- Wait period — don’t ask the same visitor again for a number of days.
- A feature flag — show it only to visitors a feature flag targets, so you can survey a specific cohort.
Surveys store wait-period, seen, and completion markers in the browser so they can delay or suppress repeat prompts. Review Privacy & GDPR when assessing consent requirements.
What do the survey results show?
The survey’s results page reports over its lifetime:- Completion rate and dismissal rate — how many people who saw it finished or closed it.
- Per-question distributions — the spread of ratings and choices, plus a feed of open-text answers.
- NPS score — for an NPS question, your score from −100 to 100, calculated as the share of promoters (9–10) minus the share of detractors (0–6).
Frequently asked questions
Why isn't my tinyanalytics survey showing on my site?
Why isn't my tinyanalytics survey showing on my site?
Surveys are off by default for a new site, so check that surveys are enabled for the site. Until you enable them, drafting a survey alone won’t put anything in front of visitors and the widget code never loads. Also check the survey’s targeting rules — URL, CSS selector, device type, wait period, and feature-flag conditions all limit who sees it.
Do I need to add code to my site to run a survey?
Do I need to add code to my site to run a survey?
No. tinyanalytics surveys need no extra code beyond your tracking snippet. You build the questions in the dashboard, and the widget, targeting, and results all work off the tracking snippet you already installed.
How does tinyanalytics calculate the NPS score?
How does tinyanalytics calculate the NPS score?
tinyanalytics takes the share of promoters (visitors answering 9–10) and subtracts the share of detractors (0–6), producing a score from −100 to 100. NPS questions ask a 0–10 “how likely to recommend” question.
Do surveys work in single-page apps?
Do surveys work in single-page apps?
Yes. URL targeting re-checks on client-side navigation, so a survey scoped to one route still appears in a single-page app after the visitor navigates to that route.
Related
Feature flags
Target a survey at a specific cohort of visitors.
Events explorer
Survey responses arrive as events you can explore.
Identify users
Tie feedback to the people who gave it.
Custom dashboards
Chart survey results alongside your other metrics.