To set up your in-app research widget, go to In-app research settingsCopy the widget script and add it to your page. Pass your current user’s info in the user object in the init call. If you do not have a current user, you should pass a stable anonymous ID.
Bring your own targeting: The widget doesn’t include built-in targeting logic yet. You control when to show research opportunities based on your user segmentation and business rules. An advanced targeting rule builder is planned.Availability rules: Available research opportunities are determined by the widget at first available research opportunity that is:
Active (launched/live)
Not already answered by the user
Not dismissed by the user within the last 30 days
For testing purposes, you can pass { force: true } when showing any research opportunity to bypass availability rules. Example: ReforgeResearch("interviews.show", { token: "SHARE_TOKEN", force: true })Lazy loading: The widget uses a minimal initial bundle and lazy-loads survey or interview components on demand, keeping your page load times fast.