Skip to main content


Optimizely Knowledge Base

Project settings: IP anonymization in Full Stack projects

Skip Ahead

  • Anonymize IP addresses sent to Optimizely from iOS, Android, tvOS, and Android TV apps

In some countries, you may be required to remove the last block of an IP address to protect the identity of your visitors. Optimizely allows you to easily remove the last block of your visitors’ IP address before we store event data. If enabled:

  • The last octet of IPv4 addresses are replaced with zeros

  • The last 10 octets of IPv6 addresses are replaced with zeros

This feature is available at project level. Enable it for each Full Stack project.

IP anonymization is available for Full Stack projects, but is not currently available in Optimizely X Full Stack.

See additional resources
Here are all our articles about the Optimizely dashboard, which you'll use to create projects, add collaborators, manage privacy settings, and more: 

Here's our developer documentation, where you'll find code samples, full references for our SDKs, and getting started guides.

Enable IP anonymization

Here's how to enable IP anomymization in your Full Stack project:


  1. Navigate to your project in Optimizely. Select Settings > Advanced.

  2. Under Privacy Settings, check Anonymize IP addresses for this project by changing the last octet of IP addresses to 0 prior to logging.

  3. Click Save.

That's it! You've enabled IP anonymization for this project. The last octet of IPv4 addresses and last 10 octets of IPv6 addresses will now be removed. The full IP address will never be stored anywhere and cannot be retrieved later.