Mucus plug?

Mucus plug or the gel used when an ultrasound is taken? (2 cervical length checks and 1 speculum check to see if cervix was closed or not)