We are sorry to hear of your loss.
Yes, you are correct. An ectopic pregnancy involves the building up and subsequent shedding of the uterine lining, even if the fetus was implanted elsewhere. Therefore, the bleeding you are experiencing does in fact make you
niddah.