Donors that choose to remain anonymous on the campaign page still go into the contact list.
You can access their information on the reporting and in the Contacts view in the Fundraising suite.
The anonymous designation applies to the donor hiding themselves on the campaign page activity feed.