Green’s Dictionary of Slang

get it in the neck v.

also cop it in the neck
[late 19C+]

1. (also get it behind the ear, the back, ...collar button) to be punished severely, to suffer badly, to be harshly criticized.

2. (orig. US, also get it in the guts) to be killed or badly wounded.