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.