Had something similar years back, only during bowel movement, and mine was a result of Irritable bowel syndrome, which is common to be accompanied by mucous...Something to consider
Hope this helps.
Maybe you could post this under womens health forum. Just click on forums.