Retrieve the list of goals and their stats from analytics for a given website or website section.

Request

GET /v1/results/analytics/goals


Response

{
  "result": {
    "page": 1,
    "minPage": 1,
    "maxPage": 1,
    "numRows": 2,
    "rowsPerPage": 100,
    "rows": [
      {
        "goalId": 1,
        "name": "Checkout",
        "goal": "https:\\/\\/fakewinebarrel.com\\/contact-us\\/",
        "totalConversions": 17007,
        "conversionRate": 15.161747821976093
      },
      {
        "goalId": 2,
        "name": "Submitted contact form",
        "goal": "https:\\/\\/fakewinebarrel.com\\/contact-us\\/thank-you",
        "totalConversions": 6167,
        "conversionRate": 5.738839737961775
      }
    ]
  }
}