Skip to content
Open fromusers

Troubleshoot in-product surveys

In-product surveys

When an in-product survey does not show, work top-down: status, install, targeting, trigger, then frequency.

StatusEffect
DraftWill not collect for real visitors
LiveEligible to show
Paused / InactiveHidden
ClosedFinished

Open In-Product Surveys, find the study, and set it Live if you intend to collect.

  1. Load the page.
  2. In network tools, confirm fromusers-sdk.js returns success.
  3. Confirm data-api-key and data-website-id match the website selected on the survey.
  4. Check the console for script or CSP errors.

See Install the SDK.

If your CSP blocks the script host or inline evaluation the SDK needs, surveys will not load. Ask engineering to allowlist the FromUsers script origin used in your snippet.

Some blockers strip survey scripts. Test in a clean profile. Measure impressions with that bias in mind.

  1. Compare the browser address bar to your URL rules (contains, equals, starts with, regex, params).
  2. Confirm device rules allow your current device.
  3. Set traffic percentage to 100% while testing.
  4. Remember SPA route changes may need a refresh or custom events.

See Page targeting.

SymptomLikely cause
Never showsTimer too long, selector wrong, event name mismatch
Shows too earlyTimer too short or trigger too broad
Desktop only worksExit intent or hover on mobile

Fire FromUsers.trackEvent manually from the console when testing custom events. See Triggers and JavaScript API.

If you already dismissed the survey:

  1. Try a private window.
  2. Clear site data for your staging origin.
  3. Temporarily use a more permissive frequency on staging only.

Production should keep strict frequency and quarantine.

If audience rules require plan=pro but FromUsers.init never sends plan, the survey will not show. Log the payload you pass to init and align names with the rules.

FromUsers.showSurvey("YOUR_SURVEY_ID");

Use the survey identifier FromUsers provides in the product UI (do not invent routes). If manual show works but automatic show does not, the problem is targeting, trigger, or frequency rather than install.

  1. Reproduce on staging with one minimal Live survey (one page, one question, time trigger, 100% traffic).
  2. Capture console errors and network failures.
  3. Confirm another teammate sees the same result on a fresh browser.
  4. Pause conflicting Live surveys that might quarantine the visitor.

Common questions

The survey never appears. What should I check first?

Confirm the study is Live, the SDK loads for the correct website ID, and your URL matches targeting. Then verify frequency did not already hide it for your browser.

It works on staging but not production.

Compare website IDs in each snippet, confirm the production survey targets the production website, and check CSP or ad blockers on production.

showSurvey does nothing.

Ensure window.FromUsers exists, the survey is Live, and frequency or quarantine are not blocking. Check the browser console for errors.