The piezo switch is something YOU provide, so it has to go through the body of the light (drill hole, provide o-ring seal etc). The piezotg board then has 2 wires that YOU solder to your piezo switch.
The hallsw and halltg boards are a better solution if you are a) happy with magnetic switching...