The company demonstrated the technology to The Associated Press this week at its busy, 24-hour Fifth Avenue store in New York City. At this particular store, Apple has installed about 20 iBeacon transmitters, some of which are simply iPhones and iPads, which come with the capability as part of the iOS 7 mobile software released in September. The transmitters use Bluetooth wireless technology to sense your exact location. That's not possible with GPS, which don't work well indoors and aren't good at distinguishing between locations that are just a few feet apart.
(Read more: Cramer: Apple an 'incredibly cheap stock')
The beacons can be adjusted to specific distances, so you may get some notifications regardless of where you are inside. Others will come only when you are standing at a particular aisle, wall or product demo table. The store can also send out notifications about deals or upcoming events.
The implications go beyond Apple stores. One day, commuters might get information on subway delays as they stand on the platform, while museum visitors might get details on the painting they are standing in front of. Other retailers, of course, will be also able to offer special deals or track which aisle shoppers spend the most time browsing.
In-store location technology does raise privacy concerns, though many shoppers have shown a willingness to be tracked if there's something in it for them.
Major League Baseball already plans to use the technology next year to customize fans' experiences at its ballparks, provided they download the At The Ballpark app to their iPhones or iPads and have iOS 7 installed. In a demo earlier this year, MLB officials showed how the app can offer special features based on users' location in a stadium, such as coupons in the souvenir shop or a video that plays near landmarks.
Apple is not the first to offer in-store location technology. An app called Shopkick, for example, sends users discounts when they enter Macy's, J.C. Penney and other stores. But Apple's entry into micro-location puts the nascent technology into the hands of thousands of developers and broadens its reach considerably.
Apple said iBeacon provides apps with "a whole new level of micro-location awareness, such as trail markers in a park, exhibits in a museum, or product displays in stores."
To take advantage of this, make sure you have Bluetooth enabled on your phone and download the Apple Store app. You'll have to agree to let Apple track your location and to receive notifications while in the store. It'll only work if you say yes to both as you set up the app.
The app will automatically switch to "in-store mode" once you enter. Even without iBeacon, the app already lets you scan and pay for some items using your phone, get customer service help and reserve products.
Location tracking does raise privacy worries. After all, shoppers may not want their every move watched and recorded inside a store. Apple, however, said that it does not collect information about shoppers inside its stores. But other companies using iBeacon could, as long as people who download their apps agree to be tracked.
Privacy advocates have raised concerns about the various ways that retailers track shoppers, whether it's their location, purchase history or how often they visit a store. But consumers often agree to be tracked in exchange for discounts.