mucus plug!

Hi ladies can you tell me how long after loosing your plug did u go into labour? I've had dull backache and cramps on and off for about a week then this morning I had this jelly like discharge that was clear ( is this my plug?) tia x