"Google is ordered to take the necessary technical and organisational measures to guarantee that their users can decide on their own if and to what extend their data is used for profiling," the data protection commissioner for the German city state of Hamburg said in a statement on Tuesday.
Commissioner Johannes Caspar said that Google previously had refused to grant users more control over how it aggregates data across its services including Gmail, smartphones operating system Android and the Web search engine.
(Also see: Google fined over Street View privacy violations in Germany)
Data protection in Germany is mainly handled by its regional states but the Hamburg watchdog said it represented Germany as part of a European task force evaluating Google's privacy policy.
Processing data that reveals financial wealth, sexual orientation and relationship status, among other aspects of private life, is unlawful in Germany unless users give their explicit consent, it added.
Google spokesmen in Europe did not immediately respond to requests by phone and email for comment.
(Also see: Google fined 150,000 euros by France over data privacy)
The Financial Times earlier quoted a company spokesman as saying Google was studying the order to determine next steps.
European data privacy regulators last week handed the U.S. group a package of guidelines to help it bring the way it collects and stores user data in line with EU law.
Regulators in six European countries, Italy, France, Spain, Germany, Britain and the Netherlands, have opened investigations into Google after it consolidated its 60 privacy policies into one and started combining data collected on individual users across its services, including YouTube, Gmail and Google Maps.
© Thomson Reuters 2014
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.