The mapping of shops, and shop layout schematics/shelf place management, play an enormous role in targeted marketing. To use a supermarket as an example again, they'll have an external analytics company for category management, and that company measures how fast an item sells when placed in a particular space in the shop. The supermarket builds up a picture of that data over time so as operations, you quickly start to know which are the areas of the store that sell specific products the best - you learn that shampoo sells best in particular section of aisle 2, and that moving the broad beans caused a drop in sales, that sort of thing. Those little facts over time build up a "big data' picture of how the retailer functions and allows the retailer to develop very specific, very detailed ordering algorithms for every product in every shop. It adds an enormous amount of automation to the ordering process, which decreases the time and expense for the retailer.
Then with that picture a few things can happen:
-the retailer can provide that store schematic data to ad companies, and that data acts as another triangulation point for ads. A successful ad served is a successful sale for the retailer so they have a vested interest.
-when negotiating product agreements with suppliers, the retailers can offer premium shelf space as a part of the deal, sometimes with the supplier paying outright to be placed in that #1 position - it's another ad being served to you.
Also posters have brought up confirmation bias and yes, this also plays a role. An average person is exposed to between 5,000 and 10,000 ads per day - you're remembering only a very small, relevant fraction of them. Ad platforms serving you ads take this into account, as do marketing strategists planning those ads.
All this is to say that in terms of advertising, "you" as an individual aren't being tracked but the "you" that is a part of a larger buyer persona built up out of the bits and pieces of shared data around you definitely is. It's difficult to avoid it short of becoming a hermit.