Closer to the combustion chamber the better..but you also want it away from valvetrain noise, and OEM tend to install them on the intake side of an engine, although not always.
There are considerations...but if it wont go somewhere easily, you just have to try elsewhere