# Google Analytics 被 CSP 策略阻止

**URL:** <https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098>\
**Category:** Product Support\
**Created:** [2020 年3 月 2 日 16:34 UTC](https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098 "2020-03-02T16:34:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
发布日期： [2020 年3 月 2 日 18:49 UTC](https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098/4 "2020-03-02T18:49:11Z")

</div>

第一条建议是 **不要禁用 CSP** 。

网站的安全性远比为了实施分析而偷工减料重要得多。

---

_[View the full topic](https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098)._
