EventLogging's main session ID is supposed to persist until a user has been inactive for 30 minutes. However, I've noticed that mw.eventLog.id.getSessionId() returns a different ID on every pageview, no matter how short the interval between them.
I've tested this on Firefox 103.0 and Safari 15.5 (17613.2.7.1.8) and the result is the same.