Mucus plug??? Or sperm??

Hey so this might be gross or TMI but anyway yesterday morning my man and I had sex for the first time in like 2 months lol (I've been really sick) and this evening when I went to pee (so like 24+ hours later) there was this long yellowy snot like discharge hanging from my vagina like 2 inches long - could it be part of my mucus plug or just his sperm that didn't quite get out? It was really thick and I've never had anything like that before. I haven't had any bleeding or cramping... But I'm worried. I'm 24w3d.