A ranked server is one running the standard, unmodified gameplay settings, which is what allows it to record scores and level progression. Unranked servers can tweak the rules freely, but nothing you do there counts toward your stats.