PECR does not specifically mention cookies, but the requirements for the use of cookies, defined by UK GDPR, also apply to PECR. Thus, to comply with PECR, you must: say what cookies will be set; explain the purpose of these cookies; provide any third parties who may also process users' information; provide the duration of cookies you intend to set; and obtain consent to the use of cookies prior to the usage of cookies.