Embed Discourse comments on another website via Javascript

Also, does anyone know how this part works? The example given to scrub the title of the posts is - site.com$, so I’m entering things like | The Site Name$ (the suffix on every blog <title>), but Discourse isn’t stripping that part off. Is that the correct format?