300A smart shunt mounting location

Point A because that is what goes in and out of the battery, point B will not measure it being charged. See the DIY FAQ.

how to wire a shunt