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: "pagetest"
Example :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<div id="graphcomment"></div> <script type="text/javascript">
/* - - - CONFIGURATION VARIABLES - - - */
var __semio__params = { graphcommentId: "demo-gc", // make sure the id is yours
behaviour: { // HIGHLY RECOMMENDED uid: "pagetest", // 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://devintegration.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.