You can know that the store uses secret shoppers in general but unless the secret shoppers are terrible at their jobs, you wouldn't know whether or not you're being tracked.
Also, doing traffic analysis and strategically placing displays in retail stores has been happening since long before cell phones. Just put someone behind one-way glass, on the mezzanie level of a mall, or even right on the floor with a clipboard.