For #15520 I investigated why the one action that should be tracked as a new visit, wasn't tracked as that. Turned out the problem is, that all visits before are tracked with
->setVisitorId(), but that one tries to set a
->randomVisitorId. That doesn't work as
setVisitorId() sets a forced visitor id, which overrules the random one...