The surge protector will work well in either position. Generators aren’t generally know for causing problems. I would install the in whatever place is easiest to get to, in my case it was after the transfer switch, your layout is probably different so pick the easiest one and sleep better at night knowing you’re protected!
__________________
|