Better to have the fuel filter before the pump if possible, to keep the pump valves and carby clean. As you say, having it there also means it can't interfere with fuel pressure between the pump and carby.
On a standard early Mustang, an inline filter fits perfectly between the chassis and manual fuel pump.
Near the tank is OK, but remember to check when it needs replacing.