on() { // Clear cookie uncode_toolkit_privacy_setcookie( $this->_cookie, '', time() - YEAR_IN_SECONDS ); // Clear data $this->_visitor_id = $this->generate_visitor_id(); } } endif;