# How to anonymize IPs Google Analytics in 2021 on Discourse?

**URL:** <https://meta.discourse.org/t/how-to-anonymize-ips-google-analytics-in-2021-on-discourse/179674>\
**Category:** Data & reporting\
**Created:** [February 14, 2021, 4:40pm UTC](https://meta.discourse.org/t/how-to-anonymize-ips-google-analytics-in-2021-on-discourse/179674 "2021-02-14T16:40:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AquaL1te](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aqual1te/32/201966_2.png) [@AquaL1te](https://meta.discourse.org/u/AquaL1te)\
**Post date:** [February 18, 2021, 4:45pm UTC](https://meta.discourse.org/t/how-to-anonymize-ips-google-analytics-in-2021-on-discourse/179674/4 "2021-02-18T16:45:15Z")

</div>

The above is correct (of course change your UA ID). Extra step that’s needed is: go to your admin settings and search for `content security policy script src`.

There add `https://www.google-analytics.com/analytics.js`, then it works.

---

_[View the full topic](https://meta.discourse.org/t/how-to-anonymize-ips-google-analytics-in-2021-on-discourse/179674)._
