Precum

If you are ovulating and you have sexually intercourse unprotected, can you get pregnant by pre-cum ? Or he would have to cum inside you to get pregnant ?