No real rules other than install it so the wires are pointing more in an 'up' position relative to the horizon than downward . This will keep condenstation off the sensor.
This is on the driver’s side which I recommend. Ck the angle in relation to the bung on the cat and distance from the weld. If you place it there you should be good to go.