Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DynatraceApi

Index

Methods

  • sendBizEvent(type: string, attributes: JSONObject): void
  • 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.

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

    Parameters

    • type: string

      Mandatory event type

    • attributes: 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

Generated using TypeDoc