# Discourse 上的 Tawk.to

**URL:** https://meta.discourse.org/t/tawk-to-on-discourse/158284
**Category:** Development
**Created:** [2020年七月20日 16:18 UTC](https://meta.discourse.org/t/tawk-to-on-discourse/158284 "2020-07-20T16:18:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2024年五月21日 09:33 UTC](https://meta.discourse.org/t/tawk-to-on-discourse/158284/4 "2024-05-21T09:33:58Z")

</div>

您好，

实际上，您提供的 OP 链接中已经回答了这个问题，您必须将代码粘贴到 `<head>` 中。

> [@dax](#):
>
> 是的，放错地方了。您需要将代码插入到 `<Head>` 中，正如文档所述：
> 
> ```plaintext
> 5. 将代码粘贴到您的网站 HTML 中（就在 `</body>` 标签之前）
> 
> ```
> 
> ……在 body 标签之前（而不是在 body 标签内）

我尝试注册并获取最新代码，它确实有效：

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/7/4/8744ff178261d6dd023c0324f10b0c3fbb1e3728.png)

---

_[View the full topic](https://meta.discourse.org/t/tawk-to-on-discourse/158284)._
