This is the fingerprint method:
public static function fingerprint() {
// custom fingerprint callback
if(is_callable(static::$fingerprint)) {
return call(static::$fingerprint);
}
if(!r::cli()) {
return sha1(Visitor::ua() . (ip2long($_SERVER['REMOTE_ADDR']) & ip2long('255.255.0.0')));
} else {
return '';
}
}
So, if no custom fingerprint is used, the fingerprint is created like this:
return sha1(Visitor::ua() . (ip2long($_SERVER['REMOTE_ADDR']) & ip2long('255.255.0.0')));
In your custom fingerprint, you can do whatever you want, return a string or return only parts of the above, e.g.
return sha1(Visitor::ua());
or whatever works for you.