RUM JavaScript API - 1.345.1
    Preparing search index...

    Function sendSessionPropertyEvent

    • Sends a sessionPropertyEvent.

      Parameters

      • fields: ApiCreatedSessionPropertiesEvent

        Must be a valid JSON object and cannot contain functions, undefined, Infinity and NaN as values, otherwise they will be replaced with null. The fields need to be serializable using JSON.stringify. The resulting event will be populated with fields parameter, and is modified with additional properties, thus also empty objects are valid. Only properties prefixed with session_properties. are allowed. The duration property is not supported for session property events and will be dropped if provided. String properties are limited to 5000 characters, exceeding characters are cut off. All session property key names must match the naming rules defined by VALID_KEY_REGEX.

      Returns void

      dynatrace.sendSessionPropertyEvent({
      "session_properties.some_custom": true,
      "session_properties.my_id": "m123456",
      "session_properties.my_other_id_2": "x123",
      "session_properties.my_fully_other.id3": "id007",
      });