Surveys: Native in-app App Store review prompt after rating survey response
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Feature request
Is your feature request related to a problem?
Right now, the ideal mobile flow to prompt users for an App Store review isn’t achievable within PostHog. You can approximate this with rating surveys, conditional questions and a link/notification questions, but this doesn't cover all the use cases and needs of mobile developers.
Describe the solution you'd like
We want to configure an in-app survey + native review flow entirely within PostHog, ideally with:
• Targeting options: Set criteria (events, properties, cohorts) for when the survey should appear.
• Survey UI: Show a 1–5 star rating component, fully controlled by PostHog.
• Conditional follow-up:
• If rating is 1–4, show a text input asking for feedback.
• If rating is 5, call the native requestReview() method (e.g. SKStoreReviewController.requestReview() on iOS) while keeping the user in the app.
Optional step: A light “Would you mind leaving us a review?” confirmation before triggering the system modal is presented
Automatic user property updates: Save the user’s most recent rating and date as a person property (e.g. last_app_rating = 5, last_app_rating_date = ). This will help track user sentiment trends and changes over time.
Behavioral insights: Use PostHog’s AI features to analyze behavior patterns across different rating groups (e.g. what features are commonly used by users who leave 5-star ratings?).
Describe alternatives you've considered
As mentioned earlier this can be approximated with:
• Show a 1–5 rating question
• Use conditional logic to redirect low scores to feedback, and high scores to an external link for reviews
This works to a point, but the experience breaks down when the user is pushed out of the app. Also, there's no control on redirecting just the 5s to the external app store review link.
Additional context
This kind of flow is extremely common in mobile apps and is one of the most common ways to boost App Store ratings.
Ticket: https://posthoghelp.zendesk.com/agent/tickets/35260 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/36816)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by tracing the existing survey targeting, 1–5 rating, conditional follow-up, and person-property flows, then determine how the iOS SKStoreReviewController.requestReview() path would integrate; done means the configured flow handles ratings 1–4 and 5 as described without leaving the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100