umami-api-js
    Preparing search index...

    Function postGoals

    • Track your goals for pageviews and events: https://umami.is/docs/api/reports#post-apireportsgoals

      Parameters

      • this: API
      • websiteId: string
      • parameters: Reports.Timestamps & {
            filters?: Filters;
            name?: string;
            operator?: "count" | "sum" | "average";
            property?: string;
            type: "path" | "event";
            value: string;
        }
        • Optionalfilters?: Filters

          Can accept filter parameters

        • Optionalname?: string

          Undocumented

        • Optionaloperator?: "count" | "sum" | "average"

          Undocumented

        • Optionalproperty?: string

          Undocumented

        • type: "path" | "event"

          Conversion type

        • value: string

          Conversion step value

      Returns Promise<Goals>

      Here be dragons: I have no idea how to use this endpoint without it returning a client/server error, my apologies - The package developer