In that link, it says ice cores track CO2. Temperatures were compiled from other geological records.
By measuring the ratios of different water isotopes in polar ice cores, we can determine how temperature in Antarctica and Greenland has changed in the past.