The invention relates to an electronic module for recording information of a drug delivery device, the electronic module comprising at least one connector, wherein at least one connector is adapted to be connected to a port of the drug delivery device and wherein at least one connector is adapted to be connected to a port of a computer. Furthermore, the invention relates to a drug delivery device, comprising a port for connecting to the connector of the electronic module.