# Cusdis comment system

**URL:** <https://discuss.write.as/t/cusdis-comment-system/10610>\
**Category:** Customization\
**Created:** [November 25, 2023, 8:33pm UTC](https://discuss.write.as/t/cusdis-comment-system/10610 "2023-11-25T20:33:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cri](https://discuss.write.as/user_avatar/discuss.write.as/cri/32/5849_2.png) [@cri](https://discuss.write.as/u/cri)\
**Post date:** [February 9, 2024, 4:26pm UTC](https://discuss.write.as/t/cusdis-comment-system/10610/2 "2024-02-09T16:26:54Z")

</div>

Hi! I’ve been trying to add _cusdis_ comments to my _writefreely_ blog, however, I haven’t had any success.

The code is as follows:

```auto
<div id="cusdis_thread"
  data-host="https://cusdis.com"
  data-app-id=" ****"
  data-page-id="{{ PAGE_ID }}"
  data-page-url="{{ PAGE_URL }}"
  data-page-title="{{ PAGE_TITLE }}"
></div>
<script async defer src="https://cusdis.com/js/cusdis.es.js"></script>

```

The main issue is that, after the comments box appears, it disappears almost instantly. From what I’ve read, this is because writefreely “sanitizes” the embedded JS code.

[Another person was able to implement it](https://wrily.foad.me.uk/cactus-comments-in-writefreely) using a trick [posted on the forum](https://discuss.write.as/t/custom-javascript-in-writefreely-0-81/348/14).

This “trick” involves adding the JS code within the customization of the writefreely CSS code, which would look like this:

```auto
</style>
<script async defer src="https://cusdis.com/js/cusdis.es.js"></script>
<style>

```

Or something like that. In the [tutorial](https://wrily.foad.me.uk/cactus-comments-in-writefreely) mentioned above, the “addeventlistener” function is used to resolve the conflict. The issue is that I don’t know how to add it to the cusdis code. I would be very grateful if someone could help me with this.

Greetings!

---

_[View the full topic](https://discuss.write.as/t/cusdis-comment-system/10610)._
