Install a Widget in JavaScript

Hey Everyone,

I’m trying to figure out a way to install a JavaScript widget on my app but I can’t seem to figure it out.
Here is a sample of something I’m wanting to embed.

<div id="nichesss_qYnTnYzPl52tFbe"></div>

<script type="text/javascript">
(function (n,i,c,h,e,s) {
    if (n.nq) { return; }
    n.nichesss = n.nichesss || {}; n.nqq = []; n.nq = function (fn) { n.nichesss && n.nichesss.Widget ? fn.call() : n.nqq.push(fn) }
    h = i.getElementsByTagName('head')[0];
    e = i.createElement('script');
    e.src=c+'?v=' + (new Date()).getTime();
    h.appendChild(e)
})(window,document, 'https://widget.nichesss.com/dist/nichesss.embed.min.js')

nq(function () {
    new nichesss.Widget('#nichesss_qYnTnYzPl52tFbe', {
        id: 'qYnTnYzPl52tFbe',
        width: 450
    });
});
</script>

I’ve tried just pasting it in Rich Text and WebView components, but neither seems to work.

Thanks for any thoughts or ideas on how to accomplish this.

this is an HTML script for a website :wink: it won’t work here…
You have to break it down into HTML and Java… then create a little driver in logic columns to make it work… or just embed it as a let’s say Google Web App.