# 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:** 1

<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 14, 2021, 4:40pm UTC](https://meta.discourse.org/t/how-to-anonymize-ips-google-analytics-in-2021-on-discourse/179674/1 "2021-02-14T16:40:53Z")

</div>

Continuing the discussion from [How to anonymize Google Analytics?](https://meta.discourse.org/t/how-to-anonymize-google-analytics/36152/2):

For the GDPR it’s required to send IPs anonymized IPs because they are personal identifiable information. However, there doesn’t seem to be an option in Discourse for this?

The suggestion in the old thread is to put the GA code in Admin → Customize → HTML. But that option has since disappeared it seems.

How to use Google Analytics with Discourse and comply with the GDPR?

---

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