What it does
Formbricks provides survey creation, targeting, and SDKs for presenting surveys in products. Responses can be connected to product context and integrations.
Why it’s interesting
Survey timing and targeting affect response quality. The embeddable SDK and monorepo structure are useful implementation studies.
Real-world use case
Ask for cancellation feedback when a user downgrades, then route the response to a support workflow.
What I can learn
- 01
Embeddable client SDK design
Learn how an embeddable client mounts a survey in another application while limiting styling and runtime conflicts.
- 02
Client event and survey-trigger evaluation
See how page context and product events are evaluated against survey rules before a prompt appears.
- 03
Monorepo package sharing
Understand how shared packages keep survey logic and types aligned across the main app and client SDKs.
One thing to explore
JavaScript SDK and survey app
Follow the packages/js-core implementation and connect it to the concepts above.
Explore the source (opens in a new tab)10-Minute Challenge
Inspect the survey trigger flow
Before you start: A browser and source access. Local self-hosting requires environment setup and a database.
- Read the current self-hosting guide and license.
- Inspect how a custom event is matched to a survey trigger.
- Identify which user properties should be excluded or masked in a survey response.