invertase / invertase/docs.page
feat: Add "Was this page helpful?" feedback widget
- Dominant language
- TypeScript
- Stars
- 673
- Forks
- 101
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 10
Description
**Description**
Introduce a simple analytics/feedback mechanism at the bottom of documentation pages to gauge content quality and helpfulness.
**Proposed Solution**
A minimal footer widget consisting of:
- UI Component: A minimal footer widget consisting of the text prompt "Was this page helpful?" alongside interactive feedback buttons: Yes (thumbs-up) and No (thumbs-down).
- Analytics Integration: When a button is clicked, trigger a custom analytics event through the analytics provider configured in the project's configuration file (e.g., Plausible, GA4, PostHog).
- Implementation Detail: Fire a custom goal/event payload containing the feedback value and the current page path:
**Example**
Contributor guide
Assessment
This issue has not been assessed yet.