richbat i think that dog has worms when i was little my sheep dog did that on the floor took her to the vet.
try checking her stool when you take her out.