Integrate

Copy and paste this code into your content management template. Each page (article, post) requires a unique string in the “PAGE_ID” field. This should be consistent over time and unique to each of your pages (like the article title).

  • When this embed code loads on your website, it will either create a new conversation (if one is not already associated with the string passed into PAGE_ID) or load an existing conversation.
  • This embed code will keep track of what conversations belongs on what pages via the data-page_id HTML attribute.
  • Simply replace “PAGE_ID”, either manually or in your templates, to create new conversations and load existing ones in the right place.
<div
class="polis"
data-page_id="PAGE_ID"
data-site_id="xxx-removed-for-security-xxx">
</div>
<script async src="https://pol.is/embed.js"></script>