windshieldwindshield
windshield
Feb 13, 2019

Q: Where I can find the userback API to make something inside the page clickable instead of the standard button.

I mean for the explanation you make the first five minutes of the webinar.

Share
Helpful?
Log in to join the conversation

Hey,

Here is a link to our API:
https://help.userback.io/hc/en-us/articles/115005681028-Javascript-API

In terms of instructions:

1. Install Userback widget code on your website (you would do this anyway when you want our widget on your site)
2. In the widget settings (back in Userback) set the widget to Autohide - this will hide the default widget on your page

3. Create the link on your button/nav/text like this - this is an example using the text as a link 'test'
<a href="javascript:Userback.open();">test</a>" or
<a href="javascript:Userback.open('form');">test</a>" or
<a href="javascript:Userback.open('capture');">test</a>" or

.open() => opens normal widget
.open('capture') => opens the drawing tool directly
.open('form') => opens the form without drawing tool