# 通过 Google Tag Manager 运行 Hotjar 脚本

**URL:** https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531
**Category:** Support
**Created:** [2021年八月24日 10:33 UTC](https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531 "2021-08-24T10:33:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![BCUK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcuk/32/225683_2.png) [@BCUK](https://meta.discourse.org/u/BCUK)
#### Post date: [2021年八月24日 10:33 UTC](https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531/1 "2021-08-24T10:33:01Z")

</div>

我尝试通过 Google Tag Manager 在 Discourse 论坛上部署 Hotjar 脚本，以显示弹出式调查。此前我在多个网站上都成功这样做过。不知何故，Hotjar 已验证其标签存在，但脚本并未触发。其他人是否遇到过类似问题？

---

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [2021年八月24日 17:14 UTC](https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531/2 "2021-08-24T17:14:55Z")

</div>

您是如何配置的？在浏览器控制台中是否看到任何错误？

此前有人成功配置过 Hotjar：[Run a Hotjar script](https://meta.discourse.org/t/run-a-hotjar-script/72928)

另外，请查看此主题以获取更多线索：[How to add "feedback" floating button like this site - #4 by AnkitJain](https://meta.discourse.org/t/how-to-add-feedback-floating-button-like-this-site/130246/4)

此外，这份指南可能有所帮助，因为 HubSpot 似乎具有类似的调查功能（请查看主题末尾的注释）：[Setup HubSpot chat Integration](https://meta.discourse.org/t/hubspot-chat-integration/128777)
