If you're looking to add a comments section using Disqus on your website built with Google Sites,
and you’ve successfully added it, but notice that the comments disappear after refreshing the page,
watch this video for a quick solution.
Copy the code from Disqus, and in the two lines below, paste the appropriate link:
this.page.url = "Enter the specific and full URL of the page where you want to post comments.";
this.page.identifier = "Enter the specific and full URL of the page where you want to post comments.";
Example:
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "https://www.easywithez.com/מדריכים-וטיפים/the-correct-way-to-add-disqus-comments-to-google-website";
this.page.identifier = "https://www.easywithez.com/מדריכים-וטיפים/the-correct-way-to-add-disqus-comments-to-google-website";
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://easywithez.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>אנא אפשרו JavaScript כדי לצפות <a href="https://disqus.com/?ref_noscript">בהערות המופעלות על ידי Disqus.</a></noscript>