Some considerations:
- On the engine - Getting all engine vibrations, pressure sensor might die early,
- In front of the firewall (not on engine) - Vibrations reduced, still exposed to the hot environment, but the advantage is all pressurized full remains in front of the firewall, EMS wiring...