Disqus is a good way to make commenting functionality available in Scroll Viewport.

It is a good alternative to displaying and adding comments directly from Confluence on public websites, as it means users don't need to login or sign up to your Confluence system (reducing the number of users on the Confluence system).

Integrating the Disqus Code in a Theme

Firstly, register your website with Disqus – you will need to create a user profile in order to login and administer the website. During registration, you will be prompted to pick a shortname for your site. This is required later in the process.

After you have registered, open the template where you want to add the code, for example blog.vm.

Put the code where you want the comments to go:

Don't forget to change '<example>' to your forum's shortname (listed above).

<div id="disqus_thread"></div>
<script type="text/javascript">
    /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
    var disqus_shortname = '<example>'; // Required - Replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
CODE

More Info