Not sure what you mean? I do not think this is true. Electronic voting can be done in secret and can have functions to mathematically proof the result is correct and wasn't tampered with without needing to reveal who voted what.
This is what I'm taking about:
With Scytl's online voting technology, all online ballots are protected with end-to-end encryption and digital signatures. Access our website and find out more.
www.scytl.com
In essence your vote is verified and digitally signed on your device and then sent in encrypted form to the server. The server does not know from whom the vote is (theoretically it can use your IP address and fingerprinting techniques but let's assume the government isn't doing that and you can protect yourself by using a VPN and the voting page source code should be public => are they using fingerprinting techniques?).
Afterwards you can also audit that your vote was correctly taken into account. It is in fact much more transparent.
Of course as we know all software has bugs so I'm not saying it's a good idea but it will be coming and either I misunderstood you or I disagree with you. Its for sure possible to have a anonymous/secret e-voting system. It's simply very complex from cryptographic standpoint(and cryptography is very math-heavy).