Dispersive x-ray spectroscopy for time-resolved in situ observation of electrochemical inclusion of metallic clusters within a conducting polymer.