RUM Classic JavaScript API
    Preparing search index...

    Type Alias dynatrace

    type dynatrace = {
        sendBizEvent(type: string, fields: JSONObject): void;
    }
    Index

    Methods

    Methods

    • Send a Business Event

      With sendBizEvent, you can report a business event. These standalone events are being sent detached from user actions or sessions. Note: Business events are only supported on Dynatrace SaaS deployments currently.

      Parameters

      • type: string

        Mandatory event type

      • fields: JSONObject

        Must be a valid JSON object and cannot contain functions, undefined, Infinity and NaN as values, otherwise they will be replaced with null. Attributes need to be serializable using JSON.stringify. The resulting event will be populated with attributes parameter, and enriched with additional properties, thus also empty objects are valid.

      Returns void

      dynatrace.sendBizEvent("type", {
      prop: "value",
      name: "biz event name",
      timestamp: 123,
      url: "www.dynatrace.com",
      "page_id": "123456789",
      "window.orientation": "diagonal"
      });