IMHO, disregarding compensation, Identify and learn everything possible about who will be your boss/manager/mentor.
This will significantly impact on your ability to succeed and on your happiness.
(Most of) People don’t leave companies, they leave their bosses/managers.