As you may have suspected, your car is spying on you. Fire up a new model and it updates more than 100,000 data points, including rather personal details like the front-seat passenger’s weight. The navigation system tracks every mile and remembers your route to work. The vehicular brain is smart enough to help avoid traffic jams or score parking spaces, and soon will be able to log not only your itineraries but your internet shopping patterns.

The connected car will be a wonderful convenience or an intrusive nightmare, depending on your tolerance. For automakers, it could be a gold mine, which is why the industry is building firewalls to keep the likes of Google Inc. and Apple Inc. at bay -- and hoping to pry you away from their phones and apps when you’re motoring.

“Everyone is trying to control the screens in the car,” says Tony Posawatz, chief executive officer of the consulting firm Invictus iCar and one of the developers of the Chevrolet Volt. “There is tremendous value in the data, and they are trying to figure out how to get it.”

The dashboard battle is gearing up as cockpit technology rapidly advances. Once self-driving cars are the norm, people will have the downtime to become truly mobile consumers. (Granted, that may seem farther away after the recent death of a Tesla Model S owner who was using its Autopilot system.) Ford Motor Co. and others are already angling to give the Googles of the world limited to no access to the juiciest data that will be amassed once millions of people are shopping in seat belts.

“We’re not in a position of turning over our vehicles to a Google or Apple experience,” says Don Butler, Ford’s executive director for connected vehicles and services. “We want to make sure our customers have a chance to give informed consent” on how details about their habits are used. “And,” he adds, “we want to share in any value created.”

Ford, BMW AG, General Motors Co. and others have developed or purchased special systems that can host and supervise apps from outsiders. Many brands, including Chevrolet and Ford, have elected to allow drivers to pipe in systems created by Apple and Google -- Apple CarPlay and Android Auto -- without giving the tech companies entree to driver’s personal information or vehicle diagnostics. (It goes both ways: For example, since CarPlay’s mapping, messaging and audio offerings are largely operated by the phone itself, whatever its apps know isn’t readily available to the car’s computer.)

Ford’s answer is called AppLink, which Toyota Motor Corp. also uses; it enables the car to work with 90 phone apps without using CarPlay or Android Auto. If drivers choose, they can link those operating systems to vehicle screens without tech competitors being able to mine vehicle data.
Mapping Capabilities

As for BMW, Daimler AG and Volkswagen AG, they teamed up last year to buy Nokia Corp.’s digital mapping business, called Here, for $3.1 billion. Alibaba Group Holding Ltd., whose YunOS connects phones, tablets and smartwatches, is working on deals with Chinese automakers to hook up with vehicles too. Mazda Motor Corp. Helped fund development of a network called OpenCar, which will announce agreements later this year with other companies, says Bryan Mistele, CEO of the software company Inrix, which acquired OpenCar in March.

All the automakers, he says, “are worried about Google and Apple.”

For good reason. They’re developing cars or driverless technology themselves, and are giants when it comes to connected services. Most everyone has a smartphone at hand at all times, including while driving.