umami-api-js
    Preparing search index...

    Function getReportsGoals

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

      Parameters

      • this: API
      • websiteId: string
      • parameters: ReportType & Filters & Timestamps & {
            type: ("path" | "event")[];
            value: string;
        }
        • type: ("path" | "event")[]

          Conversion type

        • value: string

          Conversion step value

      Returns Promise<{ num: number; total: number }>