First, you need to customize the address of your page in Google Sites.
Go to the PAGES tab then Properties on your page:
Then ADVANCED options, and choose a personalized path at your convenience:
Finally, you then INSERT an EMBED Block on your page:
And you paste your universal code there from the INSTALLATION tab of the ADMIN GraphComment, by adding a ‘uid’ VARIABLE with the same name as the custom path defined previously in the first step.
NOTE : don't forget to remove the characters to remove comments, double slashes // in this line, otherwise this line will not be interpreted.
Here in the example below : uid: "testpage"
Example :
<div id="graphcomment"></div> <script type="text/javascript"> /* - - - CONFIGURATION VARIABLES - - - */ var __semio__params = { graphcommentId: "your-ID-here", // make sure the id is yours behaviour: { // HIGHLY RECOMMENDED uid: "testpage", // uniq identifer for the comments thread on your page (ex: your page id) }, // configure your variables here } /* - - - DON'T EDIT BELOW THIS LINE - - - */ function __semio__onload() { __semio__gc_graphlogin(__semio__params) } (function() { var gc = document.createElement('script'); gc.type = 'text/javascript'; gc.async = true; gc.onload = __semio__onload; gc.defer = true; gc.src = 'https://integration.graphcomment.com/gc_graphlogin.js?' + Date.now(); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(gc); })(); </script>
Reproduce this operation on every pages on by one with a different uid, until the New Google Sites authorize Gadgets.