GM is launching a feature that allows people to shop while driving

The GM logo is seen at the General Motors Assembly Plant in Ramos Arizpe in Coahuila state Mexico

The GM logo is seen at the General Motors Assembly Plant in Ramos Arizpe in Coahuila state Mexico

General Motors Co. has launched technology into about 2 million 2017 and 2018 USA vehicles that allows owners to order and pay for their favorite Starbucks or Dunkin' Donuts brew before pulling up to the drive-through window.

As GM pushes deeper into the electric powertrains and autonomy of tomorrow, it also wants to meet the needs of increasingly connected drivers today.

"Leveraging connectivity and our unique data capabilities, we have an opportunity to make every trip more productive and give our customers time back", Santiago Chamorro, vice president for Global Connected Customer Experience at GM, said in the release.

General Motors, the biggest USA carmaker with total sales of 2.7 million vehicles so far this year, is equipping newer cars with commerce technology to let drivers order food, find gas stations or reserve hotel rooms by tapping a touchscreen on their dashboards.

Iyer told Bloomberg the app is designed "in accordance with voluntary driver-distraction guidelines agreed to by auto companies", but didn't specify those guidelines. The National Highway Traffic Safety Administration says distracted driving was responsible for 3,477 fatalities and 391,000 injuries in 2015, the most recent year for which it has data.

The Marketplace feature will be made available to all eligible 2017 or 2018 models of Buick, GMC, Chevrolet and Cadillac. Customers can "expect to see more service promotions coming through the platform", Chamorro said.

The new feature, named GM Marketplace, is part of a push by GM and other automakers to provide new, in-vehicle tools that could become major sources of revenues as autonomous and fully driverless vehicles come to market in the near future.

Dunkin' Donuts: The division of Canton, Mass. -based Dunkin Brands Group Inc. allows DD Perks members to preorder and pay onscreen at their preferred pickup location.

Chamorro said Marketplace will eventually feature a digital wallet, allowing for drivers to pay for goods within the app.

GM will receive revenue for installing a merchant's application on its dashboard.

Other companies onboard with Marketplace include Parkopedia, Wingstop, IHOP, ExxonMobil, and Delivery.com. There's also the ability to reserve a table at certain restaurants, and a "shop" section that notifies owners of deals related to their vehicles.

GM says no customer data will be shared with vendors with the customer's consent.

General Motors said it is working with three main platform partners: Xevo in Seattle, Washington; Conversable in Austin, Texas; and Sionic Mobile in Atlanta.

Police discover body of woman who went missing after Tinder date