Where are you when she starts to sniff? Somewhere familiar where you often train? Or in a strange place?
If it's in a place you train often, it could be stress. Stress-sniffing is super common.
If it's in a new place, it could be a mix of stress and distraction. Do you allow her to acclimate to new places before asking her to work?