Yes, the sensor will work on both bottles and bags. However, the adhesive might be difficult to fully remove once applied to the bottles. We recommend using the sensors on milk storage bags only.