Websites for in-product surveys
Websites are organization-level records that represent where the FromUsers SDK is installed. They are the install targets for in-product surveys.
Why websites exist
Section titled “Why websites exist”- One snippet per install target (
data-website-id). - Clear separation between production and staging.
- Shared target for many surveys with different rules.
- Easier troubleshooting when impressions do not appear.
Websites are not the same as workspaces. Workspaces organize studies. Websites organize SDK installs.
Create a website
Section titled “Create a website”- Open the in-product surveys area and find Websites (or the website manager linked from survey setup).
- Choose New website or Add website.
- Name it clearly (
Production app,Staging marketing). - Save and open the install snippet.
- Copy
data-api-keyanddata-website-idinto your SDK install.
Recommended setup
Section titled “Recommended setup”| Website | Purpose |
|---|---|
| Staging | QA surveys, loose targeting, engineering verification |
| Production | Live customer feedback only |
Point each environment’s snippet at the matching website ID.
Attach surveys
Section titled “Attach surveys”- Create or open an in-product survey.
- In Configure, select the website.
- Add page targeting for URLs on that site.
- Set the survey Live when ready.
If the wrong website is selected, the SDK on your real site will never see that survey.
Governance
Section titled “Governance”- Prefer Admin ownership of production website creation.
- Rotate or replace websites carefully if a key was exposed publicly beyond normal client-side use.
- Document which repo or tag manager container owns each snippet.
Example
Section titled “Example”Your company has a marketing site and an authenticated app:
- Create Marketing production and App production websites.
- Install each snippet in the matching codebase.
- Run homepage NPS on the marketing website.
- Run feature satisfaction surveys on the app website with user attribute rules.
Related
Section titled “Related”Common questions
What is a website in FromUsers?
A website is an organization-level install target with its own ID and SDK snippet. In-product surveys attach to a website.
Should staging and production be separate websites?
Yes, in most teams. Separate websites keep test surveys from appearing on production and keep keys distinct.
Can multiple surveys use one website?
Yes. Frequency and quarantine help stop visitors from seeing too many surveys on the same site.