According to Professor Brad Smith, we already have a law that does exactly this. It’s the Federal Elections Campaign Act of 1974 (FECA). Under the law, the government has been able to track and make publically available the political contributions of all citizens. This includes any political contributions you may have made.
There is a vibrant public debate as to whether or not the government should require individuals to disclose their campaign contributions. Professor Smith asks: “Should the government be keeping track of your political activity?”