The synthesized coordination polymer DMTD–Au has a layered structure, in which the layers are stacked via π–π stacking and hydrophobic interaction. It facilitates electron transfer kinetics, which has been utilized in the ultra trace sensing of resorcinol.