And what mistakes do you see people/yourself make when taking that decision?
Make sure the company is doing something you like, if not love. Again, money won’t make up for a company doing something with which you disagree.
What can the company teach you? What can you teach them? Learning is important in our field. If no one is really learning anything, you might get bored quickly.