You may pull her head down to smell her poo,
meanwhile say "No. You are not supposed to poop here. You are supposed to poop in your litter box. " Then take her to the litter box, pull her head down to tell her:" You are supposed to poop here like your pee. "