Super quick tutorial showing how to enable IP anonymization in GA Pro. Estimated time required: 30 seconds, maybe a whole minute.

IP Anonymization for all events

To anonymize IP addresses for all events, follow these steps:

  1. Visit the GA Pro settings ▸ Configure tab
  2. Add the following code to the setting, “Custom Tracker Objects”:
{ 'anonymize_ip': true }

Save changes and done.

IP Anonymization for a single event

To anonymize IP addresses for a single event, follow these steps:

  1. Visit the GA Pro settings ▸ Configure tab
  2. Add the following code to the setting, “Custom GA Code”:
gtag('event', 'your_event', { 'anonymize_ip': true });

Change the your_event to your actual event. Then save changes and done.