Tried and tested sop up as much as one can washed and dried smell still there yes, apply baking powder leave 24 hours brush off re apply brush off or vacuum try the up to the nose test if clear spray with Febreze
better result if you can take the offending carpet into the house.