Embedded Product Prompts

How to Control Embedded Surveys with Approved Domains

Embedded Product Prompts

How to Control Embedded Surveys with Approved Domains

By Conejo Survey Team Updated Apr 11, 2026 4 min read

Set up approved domains and matching access controls so embedded surveys and dashboards stay tied to the portals, products, and internal surfaces they are meant to live in.

Quick takeaways

  • Approved domains are part of the deployment design, not just a technical checkbox.
  • A tighter allowlist is easier to reason about and easier to maintain.
  • Domain restrictions work best when paired with the right access mode and tested from a real web origin.

Embedded surveys work best when they feel intentionally placed inside a known environment, not loosely copied into any page that can hold an iframe. Approved domains are what turn embedding into a controlled deployment choice. They help teams decide where the survey is supposed to live and reduce the chance that an embeddable prompt spreads beyond its intended context.

What approved domains are solving

  • Distribution control so the embed only works in the places the team expects.
  • Cleaner operational ownership because the embed lives in known environments.
  • Less accidental sharing when a survey should stay inside a product or portal.
  • More deliberate deployment across production, staging, and internal surfaces.

Step 1: Decide where the embed should actually live

Before adding anything to the allowlist, define the real homes for the embedded survey or dashboard. That might be a product domain, an authenticated portal, a help center, or an internal admin surface. The allowlist should follow that operating decision instead of trying to guess every future possibility.

The cleanest setups usually have fewer approved domains than teams first expect.

Step 2: Add only the domains that are part of the real workflow

Approved domains are strongest when they stay narrow. Add the production domain people actually use. Add staging only if the team genuinely tests there. Add a portal subdomain if that is where the embed belongs. Avoid padding the list with extra hosts just because they might be useful someday.

A smaller allowlist is easier to understand and easier to trust.

Approved domains are not just a security checkbox. They are part of the product decision about where the embedded experience belongs.

Step 3: Match domain controls with the right access mode

Domain restrictions and access mode work together. Public access may be reasonable when the embed is low risk and the allowlist is doing the practical limiting. Embed-only access is a better fit when the experience should work in a known iframe context but not circulate as a general direct link.

Think about both settings together. A tight allowlist with the wrong access mode can still create confusion about who should be able to reach the content directly.

Step 4: Test in the same kind of environment people will really use

Embeds are easiest to trust when they are tested in realistic conditions. A local HTML file can be useful for quick checks, but the real validation usually happens when the survey or dashboard is embedded from an actual local or staging web server with the correct origin behavior.

That makes it easier to confirm approved-domain rules, access behavior, and how the embed feels inside the surrounding page.

Step 5: Keep the embed copy and ownership clear

Teams tend to manage embeds better when it is obvious who owns the page, who owns the prompt, and what happens if a new domain needs approval later. Even simple internal documentation or a shared deployment note can prevent confusion once more than one team starts reusing embed patterns.

This is especially helpful when surveys and dashboards are embedded across both internal and client-facing environments.

Step 6: Revisit the allowlist when the workflow changes

Approved domains should evolve with the workflow, not drift away from it. If a portal is retired, remove it. If a new production surface becomes the real home for the embed, add it intentionally. The goal is not to create a permanent static list. The goal is to keep the list aligned with how the embed is actually used.

That maintenance is part of keeping embedded distribution deliberate over time.

Best practices for approved domains and embed controls

  • Start with the real deployment surface. Let the workflow define the allowlist.
  • Keep the list tight. Fewer approved domains are easier to reason about.
  • Pair domains with access mode. The two settings solve different parts of the same problem.
  • Test from an actual web origin. Realistic testing catches embed issues earlier.
  • Maintain the list over time. Approved domains should reflect current reality, not history.

Where to go next

Once approved-domain controls are in place, teams usually move on to more specific embedded workflows such as product prompts, reviewer dashboards, or client-facing reporting surfaces. The foundation stays the same: define where the experience belongs, make that placement intentional, and keep the distribution rules close to the actual workflow.

FAQ

Common questions

Should I add every possible domain my team might use someday?

No. Start with the real production and staging environments the embed actually belongs in, then expand only when the workflow changes.

How do approved domains relate to embed-only access?

Approved domains restrict where the embed can load, while embed-only access helps control whether the content should also be reachable as a general direct link.

Why is testing from a local HTML file sometimes misleading?

Local file origins behave differently from real web origins, so testing from an actual local or staging web server gives a more accurate picture of embed behavior.

Ready to launch your own feedback workflow?

Create a survey, share it anywhere, and start collecting live responses in minutes.

Continue reading

Related guides

All guides