Add an external Widget

Hi everyone,

I’d like to add an external widget to a dash app.
In the docs of the widget it says I have to add:

<script type="text/javascript" src="//"></script>

in the header of the html file and

<div id="widget_1600452066735"></div>

in the body.

If I add everything in the


it works, but if I try to add the widget in the


it does not work anymore. I tried to embody the script in html.Script() but the error massage reads:

NameError: name ‘widget’ is not defined

Any help?

Thanks in advance!