@pitaj that works! Thanks for the reply.
What is the right way to load external JS and widget in template?
Is there a way to include external js for widgets like : https://www.tradingview.com/widget/ in template . Because when I try it, on first load it shows only the widget and nodebb page does not load, on refresh it loads the page also.
I see the same issue happens when pasting the code they give in a html widget .
Load it with require(), and make sure you specify a container for it.
This works in an HTML widget:
@psychobunny do you think this is what is causing my adsense related problems?
I've manually put in external <script> tags and they've worked, it probably won't work if it needs to be in the <head>, in that case you should put that bit in the custom HTML page in the ACP
Ok. Will try and see if this improves the render / load.