Quantifying compliance and acceptance through public and private social conformity