Before drilling the holes for them I set some knobs on top of my pallet wood to get a rough idea where I wanted them and measure the distance before drilling my holes.
Here is where I have to fess up that this is a shortcut hack version of treating pallet wood for use. In short, I used one coat of wood varnish and nothing else!
I used a sawtooth hanger for this because I had it already but it isn’t ideal for a coat rack as it is essentially like hanging a picture and so the rack tips a bit.