Correlating proton transfer dynamics to probe location in confined environments.