A medical device for detecting at least one analyte in a body fluid, the medical device comprising: - at least one analyte sensor having an insertable portion adapted for at least partially being inserted into a body tissue of a user, - at least one electronics unit, wherein the analyte sensor is operably connected to the electronics unit, wherein the electronics unit comprises at least one interconnect device with at least one electronic component attached thereto; - at least one insertion cannula, wherein the analyte sensor partially is placed inside the insertion cannula; - wherein the insertion cannula is movable in between at least one extended position and at least one retracted position, wherein the electronics unit remains in a fixed position when the insertion cannula is moved from the extended position to the retracted position or vice versa; - wherein the analyte sensor comprises at least one active portion having at least one sensor electrode for sensing the analyte thereon; - wherein the analyte sensor further comprises at least one passive portion electrically connected to the electronics unit in at least one connector portion; wherein the passive portion provides, in between the connector portion and the active portion, at least one reserve loop configured for compensating for an insertion path during movement from the retracted position into the extended position or vice versa; wherein the medical device further comprises at least one housing; wherein the medical device comprises at least one analyte sensor slider, wherein the analyte sensor slider is configured to be movable within the medical device when the insertion cannula is moved from the retracted position in the extended position, wherein the analyte sensor slider comprises at least one receptacle, wherein the receptacle is configured to receive the reserve loop at least partially when the insertion cannula is in the retracted position; characterized in that the analyte sensor slider is configured to stay within the medical device after inserting the insertable portion of the analyte sensor within the body tissue and after removing the insertion cannula from the medical device, wherein the analyte sensor slider is configured to serve as a sealing element of an opening of the housing of the medical device. - at least one analyte sensor having an insertable portion adapted for at least partially being inserted into a body tissue of a user, - at least one electronics unit, wherein the analyte sensor is operably connected to the electronics unit, wherein the electronics unit comprises at least one interconnect device with at least one electronic component attached thereto; - at least one insertion cannula, wherein the analyte sensor partially is placed inside the insertion cannula; - wherein the insertion cannula is movable in between at least one extended position and at least one retracted position, wherein the electronics unit remains in a fixed position when the insertion cannula is moved from the extended position to the retracted position or vice versa; - wherein the analyte sensor comprises at least one active portion having at least one sensor electrode for sensing the analyte thereon; - wherein the analyte sensor further comprises at least one passive portion electrically connected to the electronics unit in at least one connector portion;