In this Aug. 16, 2018, file photo, the Fitbit Charge 3 fitness trackers are displayed in New York. EU regulators cleared Google's plan to buy fitness tracking device maker Fitbit after the company promised to silo off user data and not use it for advertising. (AP Photo/Richard Drew, File)

The European Union on Thursday approved Google's plan to buy fitness gadget maker Fitbit for $2.1 billion after it promised to restrict user data and ensure Android phones work with other wearable devices for at least 10 years.

Human rights and consumer groups, which had called on authorities to block the deal over privacy and antitrust concerns, were unhappy with the decision. The deal also attracted scrutiny in launched an investigation of the deal this year.

The Silicon Valley tech giant's commitments included a promise to silo off Fitbit user data from other Google data and not use it for advertising purposes. The company also pledged to ensure phones running its Android operating system can continue to work with third-party fitness trackers and agreed not to use warnings and error messages to worsen the user experiences of other fitness watches.

Google also vowed to continue giving outside health and fitness apps access to Fitbit data.

The EU dismissed concerns the deal would let Google dominate the continent's digital healthcare sector because the market is still emerging and has many players. But Privacy International said the EU should have carried out a closer examination, saying there's a chance Google could end up dominating health-related markets if they're overlooked by regulators.

"Nothing seems to prevent Google from further enriching their massive data troves with vast quantities of sensitive health data and potentially exploiting our data in ways that go beyond digital advertising markets," the London-based group said.

European consumer group BEUC echoed the concerns.

"There is a serious risk that Google will exploit Fitbit users' data, including sensitive health data, in several markets," said Director General Monique Goyens.

The deal's approval came days after the EU unveiled proposals for a wide-ranging overhaul of digital regulations aimed in part at preventing big tech companies from dominating markets.