RUM JavaScript API - 1.333.0
    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., the duration property and the start_time property are allowed. String properties are limited to 5000 characters, exceeding characters are cut off. All session property keys must contain only alphabetic characters, numbers, underscores or dots. Each dot must be followed by an alphabetic character. Each underscore must be followed by an alphabetic character or number.

      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",
      });