Disqus setup for webflow

Attempting to embed the Universal Code for Disqus commenting. I am supposed to replace these variables, but I am unsure with what. I am using a webflow cms for my blog.

this.page.url = PAGE_URL; // Replace PAGE_URL with your page’s canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER

What is my page’s canonical URL variable and page identifier?

Does anyone know how to set this up for a CMS blog? Thank you.

You can replace both with location.href. However, if you change the page slug/url in the future, comments will be reset to empty.

1 Like