Using IR Sensor

Would like to use a
gp2y0a41sk0f IR sensor to monitor the level in a BlackWater tank
Can I shield the sensor behind a piece of glass

It seems that it will depend on the type of glass. See here.