Also, how can the government track our transactions?
In most countries tax is taken on trust. You declare it, calculate it and pay it. No one has the time or interest to track everything. If they believe there's an anomaly then they'll start to properly investigate things.