guide

Controlling who can see the Vynix widget

Updated 22 June 2026

You can limit who sees the Vynix widget by controlling when the widget is loaded on your site. The safest approach is to only include the Vynix script for approved users, roles, environments, or pages.

  1. Decide who should have access, such as internal users, QA testers, developers, or signed-in users with a specific role.
  2. Add the Vynix widget only in the environments where you want it to appear, such as staging, preview, or selected production pages.
  3. Wrap the Vynix install snippet in your own access check, for example a signed-in user check, role check, feature flag, or environment check.
  4. Avoid loading the widget for visitors who should not use it. If the script is not added to the page, the widget will not appear.
  5. Test with an approved user and a non-approved user to confirm the widget appears only for the right audience.

Vynix works by adding a lightweight widget to your site. To control visibility, control where that widget script is included. This is usually handled in your application code, tag manager, or feature flag system.

Common options include showing the widget only on staging, only to authenticated team members, only to users with an admin or QA role, or only when a feature flag is enabled. You can also limit it by route if you only want Vynix available on certain parts of your app.

For the best results, make the access decision before the Vynix script loads. Hiding the widget with CSS is not recommended, because the script may still run on the page.

If your setup uses a framework, add the Vynix snippet to the layout, app shell, or page component only after your access check passes. For exact installation details, see the Vynix docs.

Controlling who can see the Vynix widget

Related questions

Can I show the Vynix widget only on staging?

Yes. Add the Vynix snippet only when your app is running in your staging or preview environment. Do not include it in production unless you want approved production users to see it.

Can I show the widget only to certain signed-in users?

Yes. Use your app's existing authentication, role, or feature flag logic. Load the Vynix widget only after confirming the current user is allowed to see it.

Still need help?

Read the full documentation or email hello@vynix.in.