(a-4) A person commits cyberstalking when he or she knowingly, surreptitiously, and without lawful justification, installs or otherwise places electronic monitoring software or spyware on an electronic communication device as a means to harass another person and:
(1) at any time transmits a threat of immediate or future bodily harm, sexual assault, confinement, or restraint and the threat is directed towards that person or a family member of that person;
(2) places that person or a family member of that person in reasonable apprehension of immediate or future bodily harm, sexual assault, confinement, or restraint; or
(3) at any time knowingly solicits the commission of an act by any person which would be a violation of this Code directed towards that person or a family member of that person.
For purposes of this Section, an installation or placement is not surreptitious if:
(1) with respect to electronic software, hardware, or computer applications, clear notice regarding the use of the specific type of tracking software or spyware is provided by the installer in advance to the owners and primary users of the electronic software, hardware, or computer application; or
(2) written or electronic consent of all owners and primary users of the electronic software, hardware, or computer application on which the tracking software or spyware will be installed has been sought and obtained through a mechanism that does not seek to obtain any other approvals or acknowledgement from the owners and primary users.