The present disclosure relates to a mock-up medicament injector for training purposes or an actual medicament injection device (1) comprising a sensor device (2) configured to detect movements of the whole device, and a logging device (3) configured to record said movements and thus track user behaviour of the device. The sensor can be e.g. an accelerometer, gyroscope or magnetometer. The device can communicate the logged data either in real time or at a later point in time from its memory to an external computer device. The present disclosure also relates to a corresponding method for tracking behaviour of a user using the medicament injector or training device (1).