What do you think? Discuss, post comments, or ask questions at the end of this article [More about me]

As covered in a previous writeup: Installing, configuring, and integrating isso (commenting web app) into Confluence, I mentioned that I would cover integrating disqus into confluence.

Now before you go ahead and integrate disqus with confluence, be aware that there are other commenting (some of which are open-source) that will likely fit your needs better - especially if you care about privacy.

In any case, your free to choose your poison (as it were)...

Integrating into Confluence

The below was modified to suit my needs from David Simpson's nice writeup on integrateing disqus into confluence (from back in 2013).

Once you've setup your disqus account, you can integrate it into confluence by pasting some HTML/javascript into the Custom HTML section found in General configuration

First let's get there.  Click on the cog icon in the top right of confluence and click General configuration:

On the resulting page click Custom HTML on the left hand menu.  This will bring you to a page with three boxes (which we can add HTML/Javascript into).  We're going to be interested in the At end of BODY box (the last one). 

Click the  button and paste (and edit as required) the following:

<script type="text/javascript">


        // place after normal confluence comments section
        AJS.$('#comments-section').after('<div id="disqus_thread"></div>');
        var disqus_config = function () {
            this.page.url = location.href;
            this.page.identifier = 'content_id_' + AJS.params.pageId;

        (function() {
            var d = document, s = d.createElement('script');
            s.type = 'text/javascript'; s.async = true;
            s.src = 'https://example.disqus.com/embed.js';
            s.setAttribute('data-timestamp', +new Date());
            (d.head || d.body).appendChild(s);
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

You'll need to replace https://example.disqus.com in the code above with your own disqus address.


  1. https://davidsimpson.me/2013/06/05/adding-disqus-comments-to-atlassian-confluence-is-easy/