All Collections
Installation & Developers
Short and Simple Guides for Devs
How do I open Userback with a custom link or button?
How do I open Userback with a custom link or button?
Daniel Rae avatar
Written by Daniel Rae
Updated over a week ago

The Userback Widget Pop-up can be opened and closed via your website JavaScript code.

This allows you to create custom "Feedback" buttons on your website or app and trigger Userback to open when a user clicks on a link.

The JavaScript API is only available on certain plans. If you're unsure if you have access to this feature, check out this article or chat with Userback support team for more information.



You can use the following JavaScript code to open Userback:

Userback.open();

Example: Open Userback with a Link

<a href="javascript:void(0)" onclick="Userback.open();">Give Feedback</a>


πŸ’‘ Tip - Want to learn more about the open() function? Check out JavaScript API > Methods


πŸ” Who is this article for?

Plans

Solo

Startup

Company βœ”

Premium βœ”

User type

Client

Collaborator

Admin βœ”

Owner βœ”

πŸ“™ Helpful articles

Did this answer your question?