Frankie is 7 months old. Nope we don't have a garden

we just moved into our newly built house and we don't even have grass. It has just been recently that his "mess" has been loose. Yes he eats whatever he finds on the floor. Cleaning up his "mess" this morning, I noticed it look mucusy (sp).
I don't know if that means anything. He is making my carpets look awful, know any good carpet cleansers? Frankie is due to a trip to the vet so I am going to call them.