SDK survey not showing
When an in-product survey does not appear, separate install problems from eligibility problems.
1. Verify the SDK install
Section titled “1. Verify the SDK install”- Load the page.
- Confirm
fromusers-sdk.jsappears in the network panel. - Confirm
data-api-keyanddata-website-idmatch the FromUsers website. - Fix CSP or tag-manager order if the script is blocked.
Details: Install the SDK.
2. Confirm the survey can run
Section titled “2. Confirm the survey can run”| Check | Expected |
|---|---|
| Status | Live |
| Website mapping | Correct website selected |
| Page targeting | Current URL matches rules |
| Triggers | Event or automatic trigger conditions met |
| Frequency / quarantine | Visitor not capped |
| Display mode | Not hidden by CSS conflicts |
3. Fast staging tactics
Section titled “3. Fast staging tactics”- Use a private window.
- Temporarily loosen targeting to all pages on staging.
- Call
FromUsers.showSurveyper the JavaScript API. - Watch the console for SDK errors.
4. Environment mismatches
Section titled “4. Environment mismatches”- Production snippet on staging website ids (or the reverse)
- SPA route changes without re-evaluation
- Ad blockers stripping the script for some employees only
Broader guide: In-product troubleshooting.
Related
Section titled “Related”Common questions
The script loads but nothing appears. Why?
The survey may not be Live, targeting may exclude the page, triggers may not have fired, or frequency caps may quarantine the visitor.
Can I force a survey while testing?
Use the JavaScript API show helpers on staging, loosen targeting, and test in a private window to reset frequency cookies.
Does Coffee support in-product surveys?
In-product surveys are part of the platform. Still respect Coffee caps on active studies, questions, and responses.