That is good, but if the fox has all four legs off the ground (climbing) then they will not get a shock. The fox will have to be creating a circuit between the ground and wire for it to get a shock. Not trying to teach you to suck eggs.
I tested my wire and against the fence wire as I thought there would have been enough earth between them but there was not I had to run another wire (earth) around