The sensor measures the wind speed and direction in a 2D plane, therefore the sensor cavity surface planes should be parallel with the plane of air flow you want to measure.
For instance, if you want to measure horizontal flow, the sensor should be mounted vertically (either upright or upside down). If you want to measure vertical flow, the sensor cavity can be mounted horizontally.