Saving the frequency data in labels

Hi everyone, I am using Audacity 3.2.1 and cannot save the frequency data in the labels, although it is there and I can definitely see these data when I try to edit the labels. when saving, only the temporal data are saved. I guess this should be something very easy to do but for some reason I am struggling and cannot find an answer on the internet.
Is there a way to do this?

Thanks ahead

When “Spectral Selections” was added, it was done in a way that broke scripts that some people were already using with exported labels, so by default exported labels use the “classic” format without the spectral selection. There’s an option to enable exporting labels with their spectral selection in Preferences. See “Exported Label style”

Thank you very much, I wouldn’t have thought of looking there.

You’re welcome.
Here’s the reference: