A method and apparatus for quantifying an analyte in a gas phase or liquid sample comprises: a pulsed or continuous, coherent or incoherent light source (10), a pair of reflective mirrors (13) located on the optical axis forming an optical cavity, and a cell (4) located between the mirrors (13), the cell (4) having a gas inlet (3) and a gas outlet (5); a fluorescence detector (17) located off the cavity axis and arranged to provide a first signal in response to fluorescence within the cavity; a photon detector (14) located axially external to the cavity and arranged to provide a second signal; wherein the apparatus including the axial photon detector (14) is configured to comprise a cavity enhanced absorption spectrometer; wherein apparatus including the off-axis photon detector is configured to comprise a cavity-enhanced laser-induced fluorescence (CELIF) spectrophotometer; means for supplying a pure sample or an analyte-containing sample to the cavity; a processor (9) adapted to receive a first signal to calibrate the apparatus and to receive a second signal to provide a measurement of the concentration of the analyte in the sample.La présente invention concerne un procédé et un appareil pour quantifier un analyte dans un échantillon en phase gazeuse ou liquide qui comprend : une source de lumière pulsée ou continue, cohérente ou incohérente (10), une paire de miroirs réfléchissants (13) situés sur l'axe optique formant une cavité optique, et une cellule (4) située entre les miroirs (13), la cellule (4) ayant une entrée de gaz (3) et une sortie de gaz (5) ; un détecteur de fluorescence (17) situé hors de l'axe de cavité et agencé pour fournir un premier signal en réponse à la fluorescence à l'intérieur de la cavité ; un détecteur de photon (14) axialement situé à l'extérieur de la cavité et agencé pour fournir un deuxième signal ; l'appareil comprenant le détecteur de photon axial (14) étant configuré de manière à comprendre un spectromètre d'absorption à cavité ;