The present invention relates to a shoe (1), in particular a sports shoe, with a sole unit, wherein the sole unit comprises a recess (20, 120) for removably receiving a housing (10, 110) of an electronic assembly, in particular an electronic pedometer, accelerometer or speed sensor.According to a further aspect, the present invention relates to a housing (10, 110) for receiving an electronic assembly, in particular a pedometer, accelerometer or speed sensor, wherein the housing (10, 110) has an outer shape corresponding to the shape of a recess (20, 120) in a shoe sole.