sessionUserId property

Future<String?> get sessionUserId

Returns the identifier (string UUIDv4) for the user of the session.

All trackers on Web share the same session.

Implementation

Future<String?> get sessionUserId async {
  return await Snowplow.getSessionUserId(tracker: namespace);
}