Usersnap snippet code (global snippet)
Please note that Usersnap snippet code (aka "Global Snippet") needs to be installed on your website or inside your web product and the project needs to be "set live".
To change the visibility for your widget, go to your project's configuration page and to the tab "Display Rules".
By adding certain URLs you can limit where the feedback button should be displayed.
If you add multiple URLs, they are joined with an OR operator.
This would display the feedback button on both URLs. Because we use "contains" it takes all URLs that have "https://usersnap.com" in it.
If you are using the "does not contain" limiter, then the URLs are joined with an AND operator.
In this case, the feedback buttons won't be displayed on any of these URLs.
- Everybody: The widget will be exposed to everyone.
- Nobody: The widget will be exposed to nobody (same as pausing the widget). But you can activate it via the API
- Known users: The widget will be exposed to only known users. A user is known, if a user was set when initialising the widget. Please note, that at least the userID needs to be set.
- Target specific users by email: The widget will be exposed to only users with the specified email address. Please note, that the email must be added while initializing the widget.
To test the widget, just copy "?testusersnap=APIKEY" to your site.
Updated 2 months ago