Recommended location is after the heater and in the pool return line. As Kurt said, don't even think about before the heater.