I guess it varies from person to person. But in general, comp is a "secret", but a job title is very public.
I'm a 20 year long career IC in some southern European country with salaries for that kind of worker are not that great. But I work for a London-based company and my salary is great even by London standards (but still low for US standards, or at least SF standards). To my contacts in LinkedIn I'm a failure, I'm sure. They all have fancy titles by now. It kind of bothers me even if I know I make more than most of them.