Global API
The browser global exposed by the loader for GTM and script-tag installs.
- Last reviewed
Global API
Loader-based installs expose a browser global at window.__getuserfeedback.
Main methods
flow(flowId).open()flow(flowId).prefetch()flow(flowId).prerender()flow(flowId).close()identify(identifyInput, traits?)configure(updates)reset()
Multi-instance helpers
If you run more than one instance on the same page, the global also exposes:
instances()to list active instance IDsuse(instanceId)to target a specific instance
Open-request hook
onOpenRequested(callback) lets the host observe open requests before the flow
renders. Use it when your app needs to coordinate the opening behavior with its
own UI shell.