Thanks for the query.
When the baby's head enters into pelvis it will cause pressure on surrounding structures like rectum
That may be responsible for passage of yellow mucus discharge from anal opening.
But as you are having more frequent contractions, breast secretion from the milk, better to consult gynecologist once to rule out the possibility of preterm labor
and also to note the well being of the baby.