Data enrichment brokers cross index purchase times with other data from legal factory installed spyware found in cash registers, analytics tools in proprietary software you already have on your computer, etc etc.
Every time you buy an over the counter medication at the pharmacy with a credit card, the data brokers know by combining information sources, and sell it to insurance companies.