Digital Compliance | GDPR | Web Analytics

How To Delete Visitors in Google Analytics to be Compliant with GDPR

The EU’s new General Data Protection Regulations (GDPR) require that businesses are able to delete any data they collect about people upon request. This also includes your web analytics tools that collect your website visitors’ data. Fortunately Google Analytics recently launched a feature that makes this easy. If one of your website visitors contacts you to request that their data be deleted then follow this simple process.

Step 1: Determining the Client ID

The first step is to determine the visitor’s Client ID. The Client ID is an anonymous ID that Google uses to identify returning visitors. It is stored on the visitor’s computer in the form of a cookie. You will need the visitor’s help to get their Client ID. This however can be simple.

  1. If your visitor is using Firefox or Chrome then they will need to open the Developer’s Tools from the browser’s main menu.
  2. Ask your visitor to navigate to your site in their browser.
  3. In the Console tab of the Developer’s Tools they should input the following code and press enter:
  1. This will return the Client ID. It will look similar to 1234567890.1234567890
  2. Your visitor should send you the Client ID.
Developer's Tools Console - Client ID

Step 2: Deleting the Visitor’s Data

Once you have the visitor’s Client ID you can easily delete their data in Google Analytics.

  1. In Google Analytics navigate to the User Explorer. This can be find under Audience in the menu on the left of the screen.
  2. In the filter text box paste your user’s Client ID and hit enter. Make sure the date range you have selected is long enough for the visitors Client ID to be found.
  3. Once you have found the visitor’s Client ID in the User Explorer click on it.
  4. You will now see a detailed overview of the visitor’s activity. This is the User Report. Scroll to the bottom of the page.
  5. On the left side of the User Report you will see the Delete User button. Click this.
  6. You will see a warning that explains that this is a permanent deletion and that the data will be removed from the User Report within 72 hours and from the Analytics servers within 63 days.
  7. Click OK to permanently delete the visitor’s data.
user explorer Delete user data

That is all there is to deleting your visitors’ data. Remember that you do not need to do this unless one of your website visitors specifically requests it. If you have any questions then send me an email.

Don't miss our GDPR Articles.

Subscribe to our newsletter.