Gain attraction in the presence of social interactions