- Issue created by @grndlvl
Usersnap supports a few options for init()
we should support all the available options.
options.custom: Record<string, any> – An object holding custom data. This data will be passed along with every feedback
options.user – An object holding information about the current user
options.user.email: string – Will be pre-filled in the widget and attached to every feedback
options.user.userId: string – Can be used for determining whether to show a widget or not
options.locale: string – Language in which widgets should be displayed
options.useSystemFonts: boolean – Can be used to disable loading external fonts. Defaults to false
options.useLocalStorage: boolean – Can be used to disable usage of localStorage. Defaults to true
options.nativeScreenshot: boolean – Can be used to enable the usage of the native screenshot feature. Defaults to false
options.collectGeoLocation: 'all' | 'none' – can be used to disable the collection of IP and geo location. Defaults to 'all'
Active
2.0
Code