I agree even heat shrink is a good idea, maybe also a good idea to add the grease or acf50. I have added pictures of what I have done to my front brake which is vertical & my rear brake which is horizontal. Maybe I should have mounted the sensor under the downtube.
You can see where I have...