Can I get a urinary tract infection due to getting pregnant?

No, you cannot get the urinary track infection as a result of becoming pregnant.