{"id":20313788,"url":"https://github.com/posthog/user-interview-app","last_synced_at":"2025-07-31T13:04:21.232Z","repository":{"id":66068801,"uuid":"572178469","full_name":"PostHog/user-interview-app","owner":"PostHog","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-02T16:59:08.000Z","size":872,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T21:29:58.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PostHog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-29T18:06:21.000Z","updated_at":"2024-07-09T08:51:34.000Z","dependencies_parsed_at":"2025-04-11T17:16:48.954Z","dependency_job_id":"85d016a0-5198-43e9-92be-99190f33e6af","html_url":"https://github.com/PostHog/user-interview-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PostHog/user-interview-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fuser-interview-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fuser-interview-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fuser-interview-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fuser-interview-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PostHog","download_url":"https://codeload.github.com/PostHog/user-interview-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fuser-interview-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268043903,"owners_count":24186507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:12:59.578Z","updated_at":"2025-07-31T13:04:21.213Z","avatar_url":"https://github.com/PostHog.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Interview App\n\nInvite your users to an interview through an in-app pop-up with this app.\n\n## Installation\n\n1. Make sure you have enabled `opt_in_site_apps: true` in your posthog-js config.\n2. Install the app from the PostHog App Repository\n3. Customize the text and theme using the app config\n4. Create a feature flag starting with `interview-` with the booking link as a payload and the appropriate filters set [instructions here](https://posthog.com/docs/apps/user-interview)\n\n### Handling overlapping widgets\n\nIf there are other widgets in the bottom right hand corner:\n\n-   For when the widget opens:\n    -   Add an event listener to the window that hides the other widgets e.g. `PHUserInterviewBoxOpened` and show it again with the `PHUserInterviewBoxClosed` event. For example:\n\n        ```\n        window.addEventListener('PHUserInterviewBoxOpened', function (e) {\n        window.OtherWidget.hide();\n        });\n\n        window.addEventListener('PHUserInterviewBoxClosed', function (e) {\n        window.OtherWidget.show();\n        });\n\n## Demo\n\n![Example popup](example.png)\n\n## Tracking events\n\n| Event name | Properties | Notes |\n| ---------- | ----------- | ----------- |\n| `User Interview Shown Pop Up` | `{featureFlagName: featureFlagName}` | |\n| `User Interview Dismissed Pop Up` | `{featureFlagName: featureFlagName}` | |\n| `User Interview Clicked Book Button` | `{featureFlagName: featureFlagName}` | |\n| `User Interview Booked` | `{featureFlagName: featureFlagName}` | Requires the redirect after booking to be setup |\n\n## User properties\n\n| Property name | Notes |\n| ------------- | ----------- |\n| `Seen User Interview Invitation - {featureFlagName}` | Date when the user interview invitation was shown |\n| `Seen User Interview Invitation` | Date when any user interview invitation was last shown |\n\n## Local development\n\nFor local development, clone the repo and run\n\n```bash\nnpx @posthog/app-dev-server\n```\n\nor\n\n```bash\npnpm install\npnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fuser-interview-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthog%2Fuser-interview-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fuser-interview-app/lists"}