Many stores have installed Bluetooth beacon tracking that will monitor all customers cell phones (or other Bluetooth devices) precise location throughout the store.
The items on the receipt can work as a "checksum" for a specific pattern around that time of day.
Self checkouts also have cameras that can identify biometrics, repeat shoppers, and other data points for a profile. But it's not known is the customer used one of those kiosks.