Everything else you were unhappy about before will still be true. They will now have a chip on their shoulder about you. And furthermore, part of the reason why they will pay more is that they don't have a replacement for you. But now that they know that you are a risk for leaving their top priority will be to have you transfer your knowledge, to hire a replacement, and then to fire you as soon as they feel that they are in a good position to.
They don't have a chip on their shoulder. Necessarily. But they have a very rational concern that you, unlike your peers, are particularly likely to bolt. Many forms of compensation, including bonuses, training, and senior positions on teams, are viewed in terms of investments that pay off or lose depending on whether you're retained.
I wasted a year and a half or so of my career by accepting a counteroffer (I didn't really want to leave that badly) and getting marginalized.
That doesn't mean every counteroffer is bad, but I would be up-front and overt about the concern that the "counteroffer" you've been offered is really more of an "option" on you, so that you'll leave on the company's terms and not your own.
As part of their due diligence, they asked that person about working with me, and that person then proceeded to tell my boss that they heard I was looking for another job.
My boss then spent the next few months transitioning all of my responsibilities away to other managers, basically leaving me with no responsibilities.
Thankfully, I transitioned back to being a consultant, and all of them were fired; but you don't even need a counter-offer to be marginalized. Sometimes, just talking to another company is enough to do it. So be wary.
The person I worked with was apparently a really really good friend of the person I was interviewing, so I assume it just came up in conversation, like "Hey, do you know so-and-so. They're applying for a job here."
Amusingly, the guy actually did speak well of me to his friend, he just then proceeded to notify my boss that I was interviewing at another company.
Also, it tangentially led me to go back to doing technical work, which I much prefer. Having all my responsibilities as a manager removed forced me to decide what I really wanted to do at that point in my career. On the whole, I'd say it worked out for the best.
"Boss, I'd like to make $x."
"No."
"Boss, I'd like to make $x and Y will pay it."
"You got it."
It's very simple. You can't negotiate without options. Nothing personal. You won't hurt someone's feelings by standing up for yourself (unless he is very insecure).
Sorry, but that's just bullshit. Salary and skills are correlated very loosely. The salary spread among (roughly) equally skilled developers is enormous. It's up to you which side of spectrum to be on.
Here's what I'm wondering: Why can't rank-and-file employees negotiate some type of agreement where they get paid to stay? It doesn't make any sense that companies put a "value" on retention, but don't put a $$$ value on it.
It's called salary and other compensation.
> It doesn't make any sense that companies put a "value" on retention, but don't put a $$$ value on it.
You're missing the point. Once someone has accepted an offer from somewhere else, they're very likely to leave soon even if they accept a counter-offer. As a result, money spent on them is wasted.
Effective retention spending happens before people decide to leave.
The point they are missing is, that companies know they can skimp on 'retention bonuses', because only a few employees will shop for a better offer.
Would you rather hire a hard-working, but downtrodden slave; or a hired gun who's only staying because you are paying them what you are worth? Exactly.
The only solution is for enough employees to churn their way to decent positions, so companies are forced to assume that an underplayed employee will quit.
There was no written or verbal agreement to stay, they just made it very clear that they realized that our job options had increased considerably and wanted to give us more incentive to stay. Some people probably negotiated higher amounts, but since I was already being paid more than I knew what to do with and the job was really a lot of fun, I just happily pocketed the money.
But if you want to keep your job, you still might as well play the game right.
At my last job, I was being paid at a mid-level admin rate but was expected to do senior-level engineering and even architectural work (I had proven that I could). The best they could do is 3-10% (and even that was pulling teeth) per year. I had already been there several years and it would have taken me several more to finally make what I should have been making all along... minus the opportunity for raises based on that income.
In the end: I went out, interviewed, and negotiated a salary elsewhere at such an insanely high increase (just under 40%) that I figured my then-current employer would just show me the door and say thanks for my time. Much to my surprise, despite having a hard time squeaking out a few extra K before, they were not only offering to match my offer but exceed it by an appreciable margin.
The moral of the story: a lot of employers will aim to profit on your complacency. Period. It is more profitable to pay you the least as possible as long as possible. They got damn good (if I do say so myself) engineer at a steep discount. Even if I had taken their offer (which I didn't), it would have taken me a couple more years just for my pay to normalize to what it should have been all along.