Surveys screenshot
A hedgehog looking at survey results
Surveys

Ask anything with no-code surveys

Surveys is one of the tools that makes your product self-driving: the user feedback agents use to see what works. Built to natively work with product analytics, session replay, feature flags, and experiments.

Get started - free

Install with AI in a single prompt

Paste into your terminal or code editor and make AI do the work.

Learn more

MCPWatch a demoTalk to a human

What does it do?

A hedgehog taking a survey with a rating scale

Surveys let you ask users anything right inside your product – freeform text, multiple choice, NPS, ratings, emoji reactions – as a no-code popup or via the API. Target by URL, person properties, events, or Feature Flags so you ask the right people at the right moment. Responses connect to Product Analytics and Session Replay, so you can see who answered and what they were doing.

Who is it for?

Surveys is used across teams depending on your role.

Role
Use cases
Product Managers
Run NPS, PMF, and CSAT surveys, or book user interviews from in-app templates
Product Engineers
Gather beta feedback tied to feature flags after a rollout
Growth Engineers
Ask the right cohort at the right moment – after activation, purchase, or churn
Support Engineers
Trigger satisfaction surveys after solved tickets and route urgent feedback to Slack
Founders
Collect testimonials and qualitative signal without a separate survey tool

How do I use it?

There are a few ways to explore Surveys.

Manage surveys from your editor

Create, update, and analyze surveys from Cursor, Claude Code, VS Code, or any MCP-compatible agent.

Create surveys
Spin up a new in-app survey without switching to the PostHog UI.
Check survey performance
Pull response rates, completion stats, and results for any survey.
Iterate on live surveys
Update questions, targeting, or appearance of surveys without leaving your editor.
Global stats
Get all surveys in the project, view aggregated response statistics, or apply filters.

Install the PostHog MCP

Learn more
npx @posthog/wizard mcp add

Supports Next.js, React, Python, and

Top features

Question types

Question types

Multiple choice, multi-select, numerical rating, emoji reaction, embedded links

AI prompts

Ask PostHog AI to create surveys, refine targeting, and summarize responses. Works in PostHog AI (in-app chat), PostHog Desktop (our AI code editor), and in your product editor (using the MCP). Already signed in? Click a prompt to try it.

Install

SDKs for web and mobile – or build a custom UI with the Surveys API.

Feature comparison

Pendo
compare
Hotjar
compare
Sprig
Platforms
Web surveys
Show surveys on websites and web apps
Mobile surveys
Show surveys in mobile apps
No Flutter
Targeting
Control when and who sees a survey
Display conditions
Display surveys based on URL or person property
Event-triggered surveys
Trigger a survey to open when an event occurs, either every time or just once
Feature flag targeting
Target surveys to specific users based on feature flags
Custom targeting
Target surveys to specific users, cohorts, or behavioral segments
Presentation
Display surveys in-app or hosted
Popover surveys
Display surveys as popovers in the bottom corner of the screen
Feedback button
Show a feedback button that opens surveys on click
Hosted surveys
Get a shareable URL to a survey that you can send directly to users or embed
Beta
Custom colors & positioning
Customize the colors of your surveys to match your brand
Custom HTML
Add HTML to your survey text
Iframe embedding
Embed surveys in your website using an iframe
Branching
Guide respondents through dynamic flows
Multi-step surveys
Define the next step based on the response received for single choice and rating questions
Conditional logic
Create dynamic survey flows based on user responses
Implementation
Set up surveys with no-code or API
No-code setup
Using PostHog.js? No more code required for basic surveys
API access
Full API access for creating custom survey experiences
SDK support
Supported platforms include JavaScript, iOS, React Native, and Flutter

Questions?

Answers

There are a few ways you can get answers to specific questions about Surveys.

  1. Check the docs

    We have an entire docs-wizard dedicated to docs gardening.

  2. Search the community forums

    With over 100 discussions about Surveys, there's a good chance your answer is already answered!

  3. Ask PostHog AI

    It's an incredibly useful AI chat that understands the product, docs, community questions, our codebase, GitHub issues, and industry knowledge.

  4. Talk to a human

    Dedicated humans are standing by and ready to assist. Best for questions about volume pricing, terms, and sexy legal stuff.

Recent discussions

Works with other PostHog tools

Use Surveys with these other PostHog apps to maximize shareholder value.

Works with...

  • Product Analytics

    Use insights to breakdown average scores, analyze results over time, or find trends.

  • Feature Flags

    Connect a survey to a feature flag to gather feedback on your latest ideas and tests.

  • Session Replay

    Watch recordings of users completing a survey to understand full context about a user's behavior.

Get started – free

No credit card required. You get the first 1,500 survey responses free every month, then pricing starts at $0.10/survey response and reduces with volume.

Install with AI

Run this command in your terminal or AI editor.
npx -y @posthog/wizard@latest

Supports Next.js, React, Python, and

Install without AI

Sign up for a free account and follow the install instructions for your stack.

Get started - free