Google will no longer read your emails to tailor ads

5 stunning stats about Google
5 stunning stats about Google

A major change is coming to Gmail. Google will no longer scan the contents of your emails to serve up personalized ads.

Privacy advocates have long criticized Google's practice of using email data to tailor advertising, but now the company is putting an end to the method.

Google (GOOG) announced the change in a blog post on Friday. It will go into effect later this year.

The move is in line with Google's existing G Suite Gmail service for businesses, which doesn't scan email data for personalized ads. Now its free Gmail service will have the same rules.

But this doesn't mean you won't see targeted ads in Gmail. Instead, they'll be personalized with information gleaned from other sources. For example, Google collects data about you based on the YouTube videos you watch or the searches you make.

Related: Major phishing attack targeted Google Docs users

It's possible to find out what kind of data Google uses for targeted ads by visiting its advertising settings page while logged into your account. The company also previously allowed users to opt out of targeted ads based on data via the same page.

Google confirmed it will still analyze emails for reasons other than ad targeting.

Google's scans content, including email, for purposes other than advertising, and it will still need to. Its terms of service says it analyzes content for custom search results and spam and malware detection. In the blog post, Google also called out its anti-spam, anti-phishing, and Smart Reply features for Gmail -- all of which require the company to analyze email content.

CNNMoney Sponsors