Issue Integrating DISQUS into Hub Page; Is JS Not Compatible with Hub?

170
1
12-14-2020 06:53 AM
HunterHodges
New Contributor

Hey all,

I've been trying to embed DISQUS comments into my Hub site using their Universal Embed Code, but when I save and publish my site, all I am left with is text saying "<noscript>Please enable JavaScript to view the comments powered by Disqus.</noscript>".

I've read some older threads claiming Hub isn't compatible with JS directly embedded onto the page, is this still the case? If JS is still not compatible, what would be the best way to go about integrating DISQUS comments onto the site?  Any help would be greatly appreciated.

Tags (4)
0 Kudos
1 Reply
AndrewTurner
Esri Contributor

Hub does not allow you to include custom or external Javascript. This is to prevent security vulnerabilities and other integration issues. 

The simplest way to embed DISQUS would be to use the iFrame card. You can do that by embedding the DISQUS Javascript code into a stand-alone HTML page you host on your server or as a Github page and then embed that URL. Let me know if you need help on how to do that.