I prefer the front for ease of access to it and because I just don't like having to deal with the magnet portion if I ever have to totally tear down the rear hub for repairs (yes it does happen sometimes). Either will work for you though, just a question of preference/convenience for me.
__________________
Classic American and British Roadsters, Utility Bikes, and Sporting Bikes (1935-1979):
HERE