Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

PostHog/feature-surveys

Repository files navigation

Gather qualitative feedback from users on your new or existing features.

Feature survey app

Installation

  1. Make sure you have enabled opt_in_site_apps: true in your posthog-js config.
  2. Install this app from PostHog's app repository.
  3. Enable and configure the app for your site.

Local development

If you wish to develop on this locally, clone the repo and run the following:

npx @posthog/app-dev-server

or

pnpm install
pnpm start

Then browse to http://localhost:3040/, open site.ts in an editor, and hack away.

Events

The following events can be used to trigger actions when a survey is shown/completed/dismissed. This can be useful if the survey overlaps with another widget.

window.addEventListener('PHSurveyShown', function (e) {
   ..
});

window.addEventListener('PHSurveyClosed', function (e) {
   ..
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •