Its not just the government that has this data, but every intermediary in the non-cash payment chain. Mastercard for example sells its payment data to Google, who uses it to correlate online ad viewing with in store purchases. There is no way to opt out of this if you use Mastercard, and other intermediaries do similar shady things with your data.