How do we add Javascript to our app?

We’re trying to add a Javascript snippet, but can’t figure out how:

Here is the script:

<!-- stonly-widget - copy into the head -->
<script>var STONLY_WID = "2b8f47c1-5bca-11eb-accc-0ad3430e55ea";</script>
<script>
!function(s,t,o,n,l,y,w,g){s.StonlyWidget||((w=s.StonlyWidget=function(){
w._api?w._api.apply(w,arguments):w.queue.push(arguments)}).queue=[], 
(y=t.createElement(o)).async=!0,
(g=new XMLHttpRequest).open("GET",n+"version? 
v="+Date.now(),!0),g.onreadystatechange=function(){
4===g.readyState&&(y.src=n+"stonly-widget.js?v="+(200===g.status? 
g.responseText:Date.now()),
(l=t.getElementsByTagName(o)[0]).parentNode.insertBefore(y,l))},g.send())
}(window,document,"script","https://stonly.com/js/widget/v2/");
</script>
<!-- stonly-widget - copy into the head -->

How do we accomplish this?

We tried the HTML element and it’s not working

Have you tried toolbox

I worked up one of these today for Zest feedback system as a plugin with the header and nothing else.

See it in action at jaredgibb.bubbleapps.io in the lower left

1 Like

yeah, it didn’t work

Copy it into the head of your page. Go to your page’s properties menu then scrolldown, you’ll see an option to fill it in.

2 Likes

Tried that, but it didn’t work