The Privacy Suite for WordPress

Are your IP addresses anonymized?

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

For some privacy laws, anonymized statistics, and a specific configuration of your analytics provider, e.g., Google Analytics, allow setting statistics cookies before consent. 

How to configure your Google Analytics account for GDPR and other privacy laws can be found here. Anonymizing your IP addresses for Analytics with Tag Manager is easy. Even easier, is letting Complianz anonymize IP addresses, but how do you know they are anonymized?

How anonymizing IP addresses works

A user visits a website with an IP address, which might look like:

  • or if IPV6 is allowed:
  • 2001:0620:0000:0000:0211:24FF:FE80:C12C

Before Google Analytics collects the IP addresses and writes to your Google Dashboard it will go through a script which can look like the below snippets, an based on your implementation.

  1.  gtag(‘config’, ‘GA_TRACKING_ID’, { ‘anonymize_ip’: true });
  2. ga(‘set’, ‘anonymizeIp’, true);

This function will strip a significant part of your IP address so, in the eye of privacy laws, changes from personal data, to non-identifiable data.

It does so by changing (example)

  • or if IPV6 is allowed:
  • 2001:0620:0000:0000:0211:24FF:FE80:C12C


  • or if IPV6 is allowed:
  • 2001:0620::::::FE80

But you can’t check if these IP addresses are anonymized correctly in real-time. That’s why Google added a parameter in the URL they use to collect information and write to your Google Analytics dashboard, which you identified with a UA-Code.

Confirm your anonymizing IP Addresses

We will use so you can check and compare if needed.

You will need to open your browser console, for Chome, this is a right-mouse click -> inspect or CMD/CTRL+Shift+I

You will need to find aip=1 as a query string parameter, to do this:

  1. Open the tab Network
  2. Open the tab Headers
  3. Scroll down to Query Strings Parameters
  4. Find the parameter AIP=
  5. If it has a one 1, your IP is anonymized!



If your API = 0, please have a look at the above snippets and compare them with the page source of your website. Open the page source with right-mouse click -> Page source or CMD/CTRL + U.

If you still need help, please contact support

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress


Popular articles

TTDSG, the New Cookie Law for Germany

As of December 1st, 2021 the Telecommunications-Telemedia Data Protection Act (Telekommunikation-Telemedien-Datenschutz-Gesetz) regulates the handling of cookies, local storage, cookieless tracking,  and other tracking technologies in

Read More

Cookieless Tracking and GDPR

In this article, we will have a closer look at cookieless and server-side tracking and how this affects your website’s configuration regarding privacy laws. The

Read More

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!