Yes they do. Cops are set a quota that they much reach in writing tickets.
Believe it or not cops might also get fired or lose their job if they don't meet their quota for writing tickets.
And they do "at least in some police departments" receive a commission on each ticket they write.