A dispensing system comprising: a container within which a material is contained and from which the material is dispensed; a nozzle attached to the container, the nozzle comprising a first portion and a second portion, wherein at least one of the first portion is movable with respect to the second portion or the second portion is movable with respect to the first portion such that a position of the first portion with respect to the second portion is movable between an opened position, in which the material from the container is dispensed through an opening in the nozzle, and a closed position, in which the material from the container is not dispensed through the opening in the nozzle, wherein, in the opened position, the second portion forms an angle with respect to the first portion; a magnet attached to the first portion of the nozzle; and a compliance system for tracking dispense events attached to the second portion of the nozzle, the compliance system comprising: a transmitter; a magnet sensor, coupled to the transmitter, configured to detect a presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the closed position, and configured to detect a non-presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the opened position, wherein a dispense event corresponds to the magnet sensor detecting the non-presence of the magnet; and a timer, wherein when the nozzle is moved between the opened position and the closed position greater than a predetermined number of times within a predetermined time frame, then the dispense events are not tracked, wherein the transmitter is configured to transmit a wireless compliance signal indicative of the magnet sensor detecting at least one of the presence or the non-presence of the magnet. a container within which a material is contained and from which the material is dispensed; a nozzle attached to the container, the nozzle comprising a first portion and a second portion, wherein at least one of the first portion is movable with respect to the second portion or the second portion is movable with respect to the first portion such that a position of the first portion with respect to the second portion is movable between an opened position, in which the material from the container is dispensed through an opening in the nozzle, and a closed position, in which the material from the container is not dispensed through the opening in the nozzle, wherein, in the opened position, the second portion forms an angle with respect to the first portion; a magnet attached to the first portion of the nozzle; and a compliance system for tracking dispense events attached to the second portion of the nozzle, the compliance system comprising: a transmitter; a magnet sensor, coupled to the transmitter, configured to detect a presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the closed position, and configured to detect a non-presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the opened position, wherein a dispense event corresponds to the magnet sensor detecting the non-presence of the magnet; and a timer, wherein when the nozzle is moved between the opened position and the closed position greater than a predetermined number of times within a predetermined time frame, then the dispense events are not tracked, wherein the transmitter is configured to transmit a wireless compliance signal indicative of the magnet sensor detecting at least one of the presence or the non-presence of the magnet. a transmitter; a magnet sensor, coupled to the transmitter, configured to detect a presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the closed position, and configured to detect a non-presence of the magnet when the first portion of the nozzle with respect to the second portion of the nozzle is in the opened position, wherein a dispense event corresponds to the magnet sensor detecting the non-presence of the magnet; and a timer, wherein when the nozzle is moved between the opened position and the closed position greater than a predetermined number of times within a predetermined time frame, then the dispense events are not tracked, wherein the transmitter is configured to transmit a wireless compliance signal indicative of the magnet sensor detecting at least one of the presence or the non-presence of the magnet.