This app enables you to send a pop-up notification to targeted users that invites them to schedule an interview to provide feedback. This app was created by PostHog's product team and is something we use regularly to collect community feedback.
Requirements
This app requires either PostHog Cloud, or a self-hosted PostHog instance running version 1.30.0 or later.
Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!
Installation
- Make sure you have enabled
opt_in_site_apps: true
in your posthog-js config. - Install the app from the PostHog App Repository
- Customize the text and theme using the app config
- Create a feature flag starting with
interview-
(see below)
That's it!
FAQ
Is the source code for this app available?
PostHog is open-source and so are all apps on the platform. The source code for this app is available on GitHub.
How do I create the feature flag to invite users to interview?
After installing the app, you'll need to create a feature flag starting with interview-
and then add the feature flag name and booking link to the app config.
Name
- By default, any feature flag starting with
interview-
will trigger the popup. You can change this by adding the name of the feature flag to the app config.
- By default, any feature flag starting with
Payload
Add your booking link (and other optional modifications) as a JSON payload as follows:
JSON{"bookingLink": "https://calendly.com/posthog-luke-harries/test","invitationTitle": "How easy was it to get started with PostHog?","invitationBody": "<div style='display: flex'><p>You're invited to a 30-minute user interview.<br><br>Help us improve our onboarding experience and get <strong>$30 of merch.</strong></p></div>"}
Filters (who you invite to the interview)
- (Required) Set the filter
Seen User Interview Invitation - {FEATURE_FLAG_NAME}
tois not set
so that it doesn't show to users who have seen the user interview already. This property is added once the user has interacted with the popup - either to close it or to book in a time. - You can create a filter based on properties, such as location or email, but not events.
- If you want to invite users based on them doing certain actions, you'll need to update the users' property once they've done that action or create a static cohort from an insight.
- (Required) Set the filter
By default, the flags won't be shown to users who have seen a user interview popup within the last 90 days. You can override this with minDaysSinceLastSeenPopUp
Example feature flag that targets Luke Harries:
What new properties and events does this app add?
Please check the Readme in the GitHub repo for a full list.
Who created this app?
We'd like to thank PostHog team member Luke Harries for creating this app.
Who maintains this app?
This app is maintained by PostHog. If you have issues with the app not functioning as intended, please let us know!
What if I have feedback on this app?
We love feature requests and feedback! Please tell us what you think! to tell us what you think.
Or, if you see the feedback widget enabled, use that!
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum, or drop us a message.