When hunting for an odor eliminator for your carpets, look for a product that advertises itself as “enzymatic” or one that contains enzymes. Off the top of my head the two I can think of are Nature’s Miracle, and Biokleen Bac-Out. Anything that is not enzymatic may cover up the odor with a stronger more pleasant smell, but it won’t get rid of it (and your dog can still smell the original odor). Enzymatic cleaners actually break the source of the odor down using enzymes.