No, and neither did Nazi Germany. What the GP said was "Honestly, the history of the 20th century should be the closed book final assessment on why it's permanently a bad idea for governments to collect files on people." This is a much wider claim than "Subway shouldn't collect information on its customers on behalf of the government."
BTW most people already have a centrally tracked record of every store they've been in, their credit card records, which the government can subpoena.