---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://appmetrica.yandex.com/docs/en/data-security/ip-masking.md
  - https://appmetrica.yandex.com/docs/ru/data-security/ip-masking.md
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.com/docs/en/llms.txt

# Masking IP addresses

You might need IP masking in order to meet the requirements for personal data security, including privacy policies on third-party resources and federal laws.

By default, AppMetrica stores the full IP address of users. They are used to determine a user's location more precisely, but aren't shown in any AppMetrica reports.

If you enable IP address masking, Yandex.Metrica disguises the address as soon as it's technically possible at the earliest stages of data collection. When Yandex.Metrica receives the data, the last [octet](https://clck.ru/CyWcY) of an IPv4 address or the last 64 bits of an IPv6 address are replaced with zeros. For example, 192.0.2.2 changes to 192.0.2.0.

## Enabling IP masking {#how-to-enable}

To enable IP address masking:

1. Open the app settings in AppMetrica.
2. Enable **Do not store full IP addresses of users from the EU**.

  ![Do not store full IP addresses of users from the EU](https://yastatic.net/s3/doc-binary/src/dev/appmetrica/en/images/common/gdpr-agreement.png){style="border: solid 1px #cccccc; max-width: 800px;"}

### See also

- [GDPR compliance](https://appmetrica.yandex.com/docs/en/data-security/gdpr.md)
- [ISO/IEC 27001 compliance](https://appmetrica.yandex.com/docs/en/data-security/iso-27001.md)

<!-- source: en/_includes/feedback-button.md -->
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

<a href="../troubleshooting/feedback-new">
  <span class="button">Contact support</span>
</a>

<a href="../troubleshooting/feedback-docs">
  <span class="button">Suggest an improvement for documentation</span>
</a>
<!-- endsource: en/_includes/feedback-button.md -->
