Spotting, pregnant?

Anyone had light brown spotting before finding out they are pregnant? I am currently having this & AF Is due in 1 day. Am also having quite bad cramps which makes me think its just AF :// would be encouraging to hear if it turned out to be pregnancy for anyone else. Thanks 😊