PLUGIN CODE
Installing Civil Comments is as easy as installing any standard commenting platform plugin. All you need is access to modify your site's pages, ability to change a few Javascript variables, and (optionally) knowledge of your site's user authentication process for Single Sign-On integration.
Note: You will need an active subscription to Civil Comments, and the Site ID associated with your subscription.
Copy and paste the following code into the desired location in your site's html. Be sure to include your subscription's custom Site ID, as well as the ID and language of the page's content.
<div id='civil-comments'></div>
<script>
(function(c, o, m, e, n, t, s){
c[n] = c[n] || function() {
var args = [].slice.call(arguments);
(c[n].q = c[n].q || []).push(args);
t = o.createElement(m);
s = o.getElementsByTagName(m)[0];
t.async = 1;
t.src = [e].concat(args.map(encodeURIComponent)).join("/");
s.parentNode.insertBefore(t, s);
};
c["CivilCommentsObject"] = c[n];
})(window, document, "script", "//ssr.civilcomments.com/v1", "Civil");
Civil("<Content ID>","<Site ID>","<Language>");
</script>