Device for quantitative determination of an analyte in a sample comprises a cell containing an electrolyte (3) and a sensor (6). The active side of the sensor is in direct contact with the sample (5), and the sample is separated from the electrolyte by a diffusion barrier (4).