Skip to content

How Google detects my location when I use a VPN

Trudy edited this page May 5, 2023 · 2 revisions

Introduction

Google is a major technology company that provides many services, including a search engine, email, and cloud storage. However, one of the company's core features is its ability to collect data from users. In this document, we will explore how Google can detect user locations even when they use a VPN and how it categorizes VPN server IP addresses to track users.

Image description

Google's ability to detect user location with a VPN

While a VPN can hide a user's online activity by encrypting their data and routing it through a remote server, Google can still detect a user's location by collecting their IP address and other data. When users connect to a VPN, they are assigned a new IP address by the VPN server. Google can use this IP address to determine the user's location, even if it differs from the actual IP address assigned by their internet service provider.

How Google categorizes VPN server IP addresses:

Google maintains a large database of IP addresses and their corresponding locations. When multiple users connect to the same VPN server, Google can use this data to categorize the VPN server's IP address as located in a particular region or city. This means that even if a user disables tracking, Google can still track their location by associating their VPN server's IP address with a particular location.

Conclusion

Google is a data collector that uses various methods to collect user data, including IP addresses and cookies. Even when a user uses a VPN, Google can still detect their location by categorizing the VPN server's IP address as located in a particular region or city. This means that Google can still track users who disable all kinds of tracking based on their VPN server's IP address.

Diagnose

To check if your server IP is marked as being in a different location by Google, you can log in to your server and check your location in Google Maps. For example, if you have a Windows server, you can open Google Maps and see which location it shows as default. Make sure you use the same IP address that your server is using. Note that your server may have an IPv6 address that Google has not marked as a location.

Resolution

  • One of the solutions to this issue is to ensure you do not enable any tracking information for Google while using a VPN, such as Google account location, mobile GPS location, and other location-based tracking services. While it may be possible for a few users to use the same VPN without being detected by Google, it becomes almost impossible when many users use the same VPN.

  • Another solution is to change the outgoing public IP of your VPN server every few months.

Clone this wiki locally