Documentation
    Preparing search index...

    Type Alias RumActionEvent

    RumActionEvent: CommonProperties & ViewContainerSchema & {
        _dd?: {
            action?: {
                name_source?:
                    | "custom_attribute"
                    | "mask_placeholder"
                    | "standard_attribute"
                    | "text_content"
                    | "mask_disallowed"
                    | "blank";
                position?: { x: number; y: number; [k: string]: unknown };
                target?: {
                    height?: number;
                    selector?: string;
                    width?: number;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        action: {
            crash?: { count: number; [k: string]: unknown };
            error?: { count: number; [k: string]: unknown };
            frustration?: {
                type: (
                    | "rage_click"
                    | "dead_click"
                    | "error_click"
                    | "rage_tap"
                    | "error_tap"
                )[];
                [k: string]: unknown;
            };
            id?: string;
            loading_time?: number;
            long_task?: { count: number; [k: string]: unknown };
            resource?: { count: number; [k: string]: unknown };
            target?: { name: string; [k: string]: unknown };
            type:
                | "custom"
                | "click"
                | "tap"
                | "scroll"
                | "swipe"
                | "application_start"
                | "back";
            [k: string]: unknown;
        };
        type: "action";
        view?: { in_foreground?: boolean; [k: string]: unknown };
        [k: string]: unknown;
    }

    Schema of all properties of an Action event

    Type declaration

    • [k: string]: unknown
    • Optional_dd?: {
          action?: {
              name_source?:
                  | "custom_attribute"
                  | "mask_placeholder"
                  | "standard_attribute"
                  | "text_content"
                  | "mask_disallowed"
                  | "blank";
              position?: { x: number; y: number; [k: string]: unknown };
              target?: {
                  height?: number;
                  selector?: string;
                  width?: number;
                  [k: string]: unknown;
              };
              [k: string]: unknown;
          };
          [k: string]: unknown;
      }

      Internal properties

      • Optional Readonlyaction?: {
            name_source?:
                | "custom_attribute"
                | "mask_placeholder"
                | "standard_attribute"
                | "text_content"
                | "mask_disallowed"
                | "blank";
            position?: { x: number; y: number; [k: string]: unknown };
            target?: {
                height?: number;
                selector?: string;
                width?: number;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        }

        Action properties

        • Optionalname_source?:
              | "custom_attribute"
              | "mask_placeholder"
              | "standard_attribute"
              | "text_content"
              | "mask_disallowed"
              | "blank"

          The strategy of how the auto click action name is computed

        • Optional Readonlyposition?: { x: number; y: number; [k: string]: unknown }

          Action position properties

          • Readonlyx: number

            X coordinate relative to the target element of the action (in pixels)

          • Readonlyy: number

            Y coordinate relative to the target element of the action (in pixels)

        • Optionaltarget?: { height?: number; selector?: string; width?: number; [k: string]: unknown }

          Target properties

          • Optional Readonlyheight?: number

            Height of the target element (in pixels)

          • Optional Readonlyselector?: string

            CSS selector path of the target element

          • Optional Readonlywidth?: number

            Width of the target element (in pixels)

    • Readonlyaction: {
          crash?: { count: number; [k: string]: unknown };
          error?: { count: number; [k: string]: unknown };
          frustration?: {
              type: (
                  "rage_click"
                  | "dead_click"
                  | "error_click"
                  | "rage_tap"
                  | "error_tap"
              )[];
              [k: string]: unknown;
          };
          id?: string;
          loading_time?: number;
          long_task?: { count: number; [k: string]: unknown };
          resource?: { count: number; [k: string]: unknown };
          target?: { name: string; [k: string]: unknown };
          type:
              | "custom"
              | "click"
              | "tap"
              | "scroll"
              | "swipe"
              | "application_start"
              | "back";
          [k: string]: unknown;
      }

      Action properties

      • Optional Readonlycrash?: { count: number; [k: string]: unknown }

        Properties of the crashes of the action

        • Readonlycount: number

          Number of crashes that occurred on the action

      • Optional Readonlyerror?: { count: number; [k: string]: unknown }

        Properties of the errors of the action

        • Readonlycount: number

          Number of errors that occurred on the action

      • Optional Readonlyfrustration?: {
            type: (
                "rage_click"
                | "dead_click"
                | "error_click"
                | "rage_tap"
                | "error_tap"
            )[];
            [k: string]: unknown;
        }

        Action frustration properties

        • Readonlytype: ("rage_click" | "dead_click" | "error_click" | "rage_tap" | "error_tap")[]

          Action frustration types

      • Optional Readonlyid?: string

        UUID of the action

      • Optional Readonlyloading_time?: number

        Duration in ns to the action is considered loaded

      • Optional Readonlylong_task?: { count: number; [k: string]: unknown }

        Properties of the long tasks of the action

        • Readonlycount: number

          Number of long tasks that occurred on the action

      • Optional Readonlyresource?: { count: number; [k: string]: unknown }

        Properties of the resources of the action

        • Readonlycount: number

          Number of resources that occurred on the action

      • Optional Readonlytarget?: { name: string; [k: string]: unknown }

        Action target properties

        • name: string

          Target name

      • Readonlytype: "custom" | "click" | "tap" | "scroll" | "swipe" | "application_start" | "back"

        Type of the action

    • Readonlytype: "action"

      RUM event type

    • Optional Readonlyview?: { in_foreground?: boolean; [k: string]: unknown }

      View properties

      • Optional Readonlyin_foreground?: boolean

        Is the action starting in the foreground (focus in browser)