TMI- what is this?

I'm 30+1 just went for a wee and this was there when I wiped? It's like a snot stringy thing? 
I had sex this morning, could it be to do with that? Help please. Thanks in advance 💕