Embed Usersnap Widget in Retool App

I'm trying to embed the Usersnap widget in our retool app so our users can easily report bugs & feature requests.

Usually embedding Usersnap is a matter of pasting the below just before in the app's index.html.

Is there a way to do this with retool apps?

Note - I've tried pasting that js code into "Preload JS" which doesn't work.

And when I paste that js code into the console and run it after the app has loaded the usersnap widget displays and works as expected.

Any guidance here much appreciated!

2 Likes

Have a similar issue w/ gleap where using the js code in preloaded will not load the widget, but usage in a custom component is just fine. Downside is its only within the component so formatting around it is not a good experience. Following to see if anyone has suggestions.