I am 8dpo, why am I getting this?

Okay so I am 8dpo I have been having cramps and AF is due in 2 days... I literally felt this coming out and I wiped and this came out... why is this? It’s VERY sticky and globby and clear. Is this a pregnancy symptom?