# Embed Discourse comments on another website via Javascript

**URL:** <https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963>\
**Category:** Integrations\
**Tags:** embedding, how-to\
**Created:** [August 10, 2015, 6:20pm UTC](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963 "2015-08-10T18:20:46Z")\
**Posts on this page:** 1\
**Showing post:** 446

<div class="post-metadata">

**Author:** ![360Creators](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/360creators/32/325735_2.png) [@360Creators](https://meta.discourse.org/u/360Creators)\
**Post date:** [September 20, 2023, 9:21pm UTC](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963/446 "2023-09-20T21:21:29Z")

</div>

Thank you Simon for helping out.

Console started empty, but after a while it shows this error:

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/7/2/d72217a1ca595729543fbb52ca3f433664b0182b.png)

Edit:  
I figured after a lot of troubleshooting that I needed to include “www.” in the discourseEmbedUrl.

---

_[View the full topic](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963)._
