On a plastic tank, use a self-aligning bulk head fitting that enables the sensor to be rotated to the level and/or perpendicular position relative to the liquid surface. On a metal or fiberglass tank, a flange fitting with a riser that accommodates for the slope is typically the best option.