In the datasheed for the ACS71020 IC, it shows the typical application of the device in which current is passed through the chip and voltage is measured on the opposite side.
I do not understand how the voltage measurement pins can be placed on the same side of the IC as the low voltage connections. Doesn't this ruin the mains isolation from the low voltage side?
https://media.digikey.com/pdf/Data%20Sheets/Allegro%20PDFs/ACS71020.pdf