The switch is ok where it is (before the proportioning valve), but I still recommend the mechanical switch. It does not have to be in the front brake lines.