This is about the fifth or sixth thread on this same subject in the last week or so. Each variation makes no essential difference as to how we discuss what is going on. Here is IMO a way to analyze the situation in all variations:
1. Electrons are prepared by shooting them from an electron gun (usually they are coherent i.e. have well-defined momentum).
2. They pass through multiple stages (slits, detectors, quantum erasers, being eaten and excreted by unicorns , etc..). Each of these stages affects the prepared state in a different way, but the result is still a prepared state of one or more electrons.
3. Each electron is detected at a point on a screen (or not). The frequency of impact of electrons at any small local area of the screen is determined by the final "prepared" state information that arrives at the screen and its projection onto the spatial context of the screen. All that the final "observer" (the screen) does is force the projection onto the screen context (a spatial co-ordinate basis in QM parlance).
In the case of detection at the gun it depends on what is detected. We'll assume that it does not significantly alter the electron state. A. If the detector at the gun determines the trajectory, then it will also determine through which slit, if any, the electron passes. The effect will be the same as placing a detector at the slit. Absent a quantum eraser the result will be multiple overlapping single slit diffraction patterns. B. If the detector at the gun does not determine through which slit the electron will pass, if any then, absent any other apparatus that can detect through which slit the electron passes (such as a detector at the slit) the result will be multi-slit diffraction pattern (a complex pattern of fringes produced by the single-slit patterns "interfering" with each other).