Developers Dashboard

How a site is doing: visits, pages, sources, devices, countries, leads, conversions, revenue, Google search, workflow runs and site health, each compared with the period before.

How the site is doing

GET/sites/{siteId}/analytics/summary

The headline numbers for a period, each against the period before: visitors (daily visitors, summed) and sessions counted without cookies, bounce rate and average session length, page views, leads (form submissions), new contacts, conversion rate, payments and revenue, Google search clicks when Search Console is connected, and workflow runs. Plus highlights, plain sentences about what changed most, and the top pages, entry pages, lead pages, sources (with the leads each brought) and search queries. Start here for questions like "how is my site doing this month?" (period=this_month) and drill in with the other Analytics endpoints.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • metricsobjectrequired
    10 child fields
    • visitorsobjectrequired

      Daily visitors, summed: unique visitors per UTC day, counted without cookies, added up over the period. One person who comes on three days counts three times.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sessionsobjectrequired

      Visits: a session ends after 30 minutes without activity.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • bounceRateobjectrequired

      The share of sessions that saw one page (0.42 is 42%).

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • avgSessionSecondsobjectrequired

      Average session length in seconds, from the first view to leaving the last page.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • viewsPerSessionobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • returningVisitorsobjectrequirednullable

      Only with Returning visitors switched on: the visitors who accepted its cookie, each counted once over the period, split into new and returning. Null when none did.

      3 child fields
      • visitorsnumberrequired
      • newnumberrequired
      • returningnumberrequired
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • newContactsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRateobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

  • highlightsarray of stringsrequired

    What changed most, in sentences.

  • topPagesarrayrequired
  • topLeadPagesarrayrequired
  • topSourcesarrayrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/summary \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "metrics": {
    "visitors": {
      "current": 1630,
      "previous": 1402,
      "change": 0.163
    },
    "sessions": {
      "current": 1910,
      "previous": 1655,
      "change": 0.154
    },
    "bounceRate": {
      "current": 0.46,
      "previous": 0.49,
      "change": -0.061
    },
    "avgSessionSeconds": {
      "current": 94,
      "previous": 88,
      "change": 0.068
    },
    "viewsPerSession": {
      "current": 2.2,
      "previous": 2.2,
      "change": 0
    },
    "returningVisitors": null,
    "views": {
      "current": 4210,
      "previous": 3650,
      "change": 0.153
    },
    "leads": {
      "current": 38,
      "previous": 29,
      "change": 0.31
    },
    "newContacts": {
      "current": 31,
      "previous": 25,
      "change": 0.24
    },
    "conversionRate": {
      "current": 0.009,
      "previous": 0.0079,
      "change": 0.139
    },
    "payments": {
      "current": 6,
      "previous": 4,
      "change": 0.5
    },
    "revenue": [
      {
        "currency": "nzd",
        "amount": {
          "current": 184000,
          "previous": 120000,
          "change": 0.533
        },
        "payments": {
          "current": 6,
          "previous": 4,
          "change": 0.5
        }
      }
    ],
    "search": null,
    "workflows": {
      "runs": {
        "current": 52,
        "previous": 40,
        "change": 0.3
      },
      "failed": {
        "current": 1,
        "previous": 0,
        "change": null
      }
    }
  },
  "highlights": [
    "Leads rose 31% (29 to 38) against the period before.",
    "/services/hot-water brought the most leads (14)."
  ],
  "topPages": [
    {
      "path": "/",
      "title": "Home",
      "views": {
        "current": 1820,
        "previous": 1700,
        "change": 0.071
      },
      "leads": {
        "current": 9,
        "previous": 8,
        "change": 0.125
      }
    }
  ],
  "topLeadPages": [
    {
      "path": "/services/hot-water",
      "title": "Hot water",
      "leads": {
        "current": 14,
        "previous": 6,
        "change": 1.333
      },
      "conversionRate": 0.0311
    }
  ],
  "topSources": [
    {
      "source": "google.com",
      "channel": "search",
      "views": {
        "current": 1490,
        "previous": 1210,
        "change": 0.231
      },
      "visitors": {
        "current": 640,
        "previous": 520,
        "change": 0.231
      },
      "leads": {
        "current": 12,
        "previous": 9,
        "change": 0.333
      }
    }
  ],
  "topEntryPages": [
    {
      "path": "/",
      "title": "Home",
      "entries": {
        "current": 980,
        "previous": 870,
        "change": 0.126
      },
      "bounceRate": 0.41
    }
  ]
}

Traffic over time

GET/sites/{siteId}/analytics/traffic

Visitors, sessions, page views and leads per day, week or month, with totals (views per day, conversion rate, bounce rate, average session length) against the comparison period, and the busiest stretch. Visitors and sessions are counted without cookies by a hash that changes every day, so visitors over several days is daily visitors, summed, not distinct people. returningVisitors counts distinct people only for visitors who accepted the optional Returning visitors cookie.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • granularitystring

    How to group the series: day (default), week (from Monday) or month.

    One of day week month

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • granularitystringrequired

    One of day week month

  • totalsobjectrequired
    10 child fields
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • viewsPerDayobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRateobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • visitorsobjectrequired

      Daily visitors, summed: unique visitors per UTC day, counted without cookies, added up over the period. One person who comes on three days counts three times.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sessionsobjectrequired

      Visits: a session ends after 30 minutes without activity.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • bounceRateobjectrequired

      The share of sessions that saw one page (0.42 is 42%).

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • avgSessionSecondsobjectrequired

      Average session length in seconds, from the first view to leaving the last page.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • viewsPerSessionobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • returningVisitorsobjectrequirednullable

      Only with Returning visitors switched on: the visitors who accepted its cookie, each counted once over the period, split into new and returning. Null when none did.

      3 child fields
      • visitorsnumberrequired
      • newnumberrequired
      • returningnumberrequired
  • seriesarray of objectsrequired
    6 child fields
    • startstringrequired
    • endstringrequired
    • viewsnumberrequired
    • leadsnumberrequired
    • visitorsnumberrequired

      Daily visitors, summed over the bucket.

    • sessionsnumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/traffic \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "granularity": "week",
  "totals": {
    "views": {
      "current": 4210,
      "previous": 3650,
      "change": 0.153
    },
    "leads": {
      "current": 38,
      "previous": 29,
      "change": 0.31
    },
    "viewsPerDay": {
      "current": 135.8,
      "previous": 121.7,
      "change": 0.116
    },
    "conversionRate": {
      "current": 0.009,
      "previous": 0.0079,
      "change": 0.139
    },
    "visitors": {
      "current": 1630,
      "previous": 1402,
      "change": 0.163
    },
    "sessions": {
      "current": 1910,
      "previous": 1655,
      "change": 0.154
    },
    "bounceRate": {
      "current": 0.46,
      "previous": 0.49,
      "change": -0.061
    },
    "avgSessionSeconds": {
      "current": 94,
      "previous": 88,
      "change": 0.068
    },
    "viewsPerSession": {
      "current": 2.2,
      "previous": 2.2,
      "change": 0
    },
    "returningVisitors": null
  },
  "busiest": {
    "start": "2026-10-12",
    "end": "2026-10-18",
    "views": 1104,
    "leads": 12,
    "visitors": 402,
    "sessions": 470
  },
  "series": [
    {
      "start": "2026-10-01",
      "end": "2026-10-04",
      "views": 512,
      "leads": 4,
      "visitors": 201,
      "sessions": 236
    }
  ]
}

Top pages

GET/sites/{siteId}/analytics/pages

Pages by views, leads or entries, each with its views, the leads sent from forms on it, its conversion rate, its entries (sessions that started on it) and their bounce rate, and the change against the comparison period. Sort by leads (sort=leads) to answer "which pages bring the most enquiries?" and by entries (sort=entries) for the pages people land on.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • limitinteger

    How many rows to return (default 20).

    min 1 · max 100

  • sortstring

    Order by views (default), leads or entries.

    One of views leads entries

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • sortstringrequired

    One of views leads entries

  • totalsobjectrequired
    3 child fields
    • pagesnumberrequired
    • viewsnumberrequired
    • leadsnumberrequired
  • itemsarray of objectsrequired
    7 child fields
    • pathstringrequired
    • titlestringrequirednullable
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRatenumberrequired
    • entriesobjectrequired

      Sessions that started on this page.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • bounceRatenumberrequired

      The share of those sessions that saw no other page.

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/pages \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "sort": "leads",
  "totals": {
    "pages": 14,
    "views": 4210,
    "leads": 38
  },
  "items": [
    {
      "path": "/services/hot-water",
      "title": "Hot water",
      "views": {
        "current": 450,
        "previous": 380,
        "change": 0.184
      },
      "leads": {
        "current": 14,
        "previous": 6,
        "change": 1.333
      },
      "conversionRate": 0.0311,
      "entries": {
        "current": 210,
        "previous": 160,
        "change": 0.313
      },
      "bounceRate": 0.38
    }
  ]
}

Where visitors come from

GET/sites/{siteId}/analytics/sources

Referring sites (google.com, instagram.com, chatgpt.com…) with their views, the visitors and sessions that started from them, the leads sent in those visits, share and change, grouped into channels: direct, search, social, ai, email and referral. A lead’s source is the first referrer of the visit it was sent in; leads from before visitor counting started have none.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • limitinteger

    How many rows to return (default 20).

    min 1 · max 100

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • totalsobjectrequired
    2 child fields
    • viewsnumberrequired
    • leadsWithSourcenumberrequired

      Leads in the period with a known source.

  • channelsarray of objectsrequired
    5 child fields
    • channelstringrequired
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • visitorsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sharenumberrequired
  • itemsarray of objectsrequired
    7 child fields
    • sourcestringrequired
    • channelstringrequired
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • visitorsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sessionsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sharenumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/sources \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "totals": {
    "views": 4210,
    "leadsWithSource": 31
  },
  "channels": [
    {
      "channel": "search",
      "views": {
        "current": 1600,
        "previous": 1300,
        "change": 0.231
      },
      "visitors": {
        "current": 690,
        "previous": 560,
        "change": 0.232
      },
      "leads": {
        "current": 13,
        "previous": 9,
        "change": 0.444
      },
      "share": 0.38
    }
  ],
  "items": [
    {
      "source": "google.com",
      "channel": "search",
      "views": {
        "current": 1490,
        "previous": 1210,
        "change": 0.231
      },
      "visitors": {
        "current": 640,
        "previous": 520,
        "change": 0.231
      },
      "sessions": {
        "current": 720,
        "previous": 600,
        "change": 0.2
      },
      "leads": {
        "current": 12,
        "previous": 9,
        "change": 0.333
      },
      "share": 0.354
    }
  ]
}

Phones, tablets and computers

GET/sites/{siteId}/analytics/devices

Views and leads by device class (mobile, tablet, desktop), with share, conversion rate and change. Only the class is kept, never the browser details.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • itemsarray of objectsrequired
    6 child fields
    • keystringrequired
    • labelstringrequirednullable
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sharenumberrequired
    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRatenumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/devices \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "items": [
    {
      "key": "mobile",
      "label": "Phone",
      "views": {
        "current": 2900,
        "previous": 2400,
        "change": 0.208
      },
      "share": 0.689,
      "leads": {
        "current": 22,
        "previous": 15,
        "change": 0.467
      },
      "conversionRate": 0.0076
    }
  ]
}

Countries

GET/sites/{siteId}/analytics/countries

Views and leads by country (two-letter code and English name), with share, conversion rate and change.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • limitinteger

    How many rows to return (default 20).

    min 1 · max 100

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • itemsarray of objectsrequired
    6 child fields
    • keystringrequired
    • labelstringrequirednullable
    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • sharenumberrequired
    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRatenumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/countries \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "items": [
    {
      "key": "NZ",
      "label": "New Zealand",
      "views": {
        "current": 3700,
        "previous": 3300,
        "change": 0.121
      },
      "share": 0.879,
      "leads": {
        "current": 36,
        "previous": 28,
        "change": 0.286
      },
      "conversionRate": 0.0097
    }
  ]
}

Conversions

GET/sites/{siteId}/analytics/conversions

What visits turned into: form submissions (leads) by form, payments and revenue by currency, and the conversion rate (leads divided by page views), with a series and the change against the comparison period. Bookings made in an outside scheduler are not counted (bookings is null).

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • granularitystring

    How to group the series: day (default), week (from Monday) or month.

    One of day week month

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • granularitystringrequired

    One of day week month

  • totalsobjectrequired
    6 child fields
    • leadsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • paymentsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • viewsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • conversionRateobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • revenuearrayrequired
    • bookingsnullrequired
  • formsarray of objectsrequired
    4 child fields
    • formIdstringrequired
    • keystringrequirednullable
    • namestringrequired
    • submissionsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

  • seriesarray of objectsrequired
    4 child fields
    • startstringrequired
    • endstringrequired
    • leadsnumberrequired
    • paymentsnumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/conversions \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "granularity": "month",
  "totals": {
    "leads": {
      "current": 38,
      "previous": 29,
      "change": 0.31
    },
    "payments": {
      "current": 6,
      "previous": 4,
      "change": 0.5
    },
    "views": {
      "current": 4210,
      "previous": 3650,
      "change": 0.153
    },
    "conversionRate": {
      "current": 0.009,
      "previous": 0.0079,
      "change": 0.139
    },
    "revenue": [
      {
        "currency": "nzd",
        "amount": {
          "current": 184000,
          "previous": 120000,
          "change": 0.533
        },
        "payments": {
          "current": 6,
          "previous": 4,
          "change": 0.5
        }
      }
    ],
    "bookings": null
  },
  "forms": [
    {
      "formId": "frm_1",
      "key": "contact",
      "name": "Contact",
      "submissions": {
        "current": 30,
        "previous": 22,
        "change": 0.364
      }
    }
  ],
  "series": [
    {
      "start": "2026-10-01",
      "end": "2026-10-31",
      "leads": 38,
      "payments": 6
    }
  ]
}

Leads by source and stage

GET/sites/{siteId}/analytics/leads

New contacts by where they came from (each form, payments, message channels, added by hand), the pipeline by stage (how many are in each now, how many new ones landed there, and how many moved into it in the period), and new contacts and leads over time, against the comparison period.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • granularitystring

    How to group the series: day (default), week (from Monday) or month.

    One of day week month

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • granularitystringrequired

    One of day week month

  • totalsobjectrequired
    2 child fields
    • newContactsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • contactsNownumberrequired
  • bySourcearray of objectsrequired
    3 child fields
    • sourcestringrequirednullable
    • labelstringrequired
    • contactsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

  • stagesarray of objectsrequired
    5 child fields
    • stagestringrequired
    • labelstringrequired
    • nownumberrequired
    • newInPeriodnumberrequired
    • movedInobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

  • seriesarray of objectsrequired
    4 child fields
    • startstringrequired
    • endstringrequired
    • newContactsnumberrequired
    • leadsnumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/leads \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "granularity": "week",
  "totals": {
    "newContacts": {
      "current": 31,
      "previous": 25,
      "change": 0.24
    },
    "leads": {
      "current": 38,
      "previous": 29,
      "change": 0.31
    },
    "contactsNow": 412
  },
  "bySource": [
    {
      "source": "form:contact",
      "label": "Form: Contact",
      "contacts": {
        "current": 24,
        "previous": 20,
        "change": 0.2
      }
    }
  ],
  "stages": [
    {
      "stage": "call",
      "label": "Call booked",
      "now": 18,
      "newInPeriod": 3,
      "movedIn": {
        "current": 9,
        "previous": 5,
        "change": 0.8
      }
    }
  ],
  "series": [
    {
      "start": "2026-09-28",
      "end": "2026-10-04",
      "newContacts": 6,
      "leads": 8
    }
  ]
}

Revenue

GET/sites/{siteId}/analytics/revenue

Revenue by currency (minor units, cents) and by plan, active subscriptions now, and revenue over time in the main currency, against the comparison period. Totals only; list single payments with GET /sites/{siteId}/payments.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

  • granularitystring

    How to group the series: day (default), week (from Monday) or month.

    One of day week month

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • granularitystringrequired

    One of day week month

  • currenciesarray of objectsrequired
    3 child fields
    • currencystringrequired
    • amountobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • paymentsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

  • plansarray of objectsrequired
    5 child fields
    • planstringrequirednullable
    • modestringrequired
    • currencystringrequired
    • amountnumberrequired
    • paymentsnumberrequired
  • activeSubscriptionsarray of objectsrequired
    3 child fields
    • currencystringrequired
    • countnumberrequired
    • amountnumberrequired
  • seriesobjectrequired
    2 child fields
    • currencystringrequirednullable
    • pointsarray of objectsrequired
      3 child fields
      • startstringrequired
      • endstringrequired
      • amountnumberrequired

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/revenue \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "granularity": "month",
  "currencies": [
    {
      "currency": "nzd",
      "amount": {
        "current": 184000,
        "previous": 120000,
        "change": 0.533
      },
      "payments": {
        "current": 6,
        "previous": 4,
        "change": 0.5
      }
    }
  ],
  "plans": [
    {
      "plan": "service-call",
      "mode": "payment",
      "currency": "nzd",
      "amount": 144000,
      "payments": 4
    }
  ],
  "activeSubscriptions": [
    {
      "currency": "nzd",
      "count": 3,
      "amount": 59700
    }
  ],
  "series": {
    "currency": "nzd",
    "points": [
      {
        "start": "2026-10-01",
        "end": "2026-10-31",
        "amount": 184000
      }
    ]
  }
}

Workflow runs

GET/sites/{siteId}/analytics/workflows

For each workflow: runs, successes, failures, failure rate, average run time and its latest failure, against the comparison period. Test runs are left out. Read single runs with GET /sites/{siteId}/workflows/{workflowId}/runs.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • totalsobjectrequired
    5 child fields
    • workflowsnumberrequired
    • enablednumberrequired
    • runsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • failedobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • failureRatenumberrequired
  • itemsarray of objectsrequired
    6 child fields
    • workflowIdstringrequired
    • namestringrequired
    • runsobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • failedobjectrequired

      A number with its comparison.

      3 child fields
      • currentnumberrequired
      • previousnumberrequirednullable

        The same measure in the comparison period; null with compare=none.

      • changenumberrequirednullable

        (current - previous) / previous: 0.25 is 25% up. Null when previous is 0 or missing.

    • failureRatenumberrequired
    • averageSecondsnumberrequirednullable

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/workflows \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "totals": {
    "workflows": 3,
    "enabled": 3,
    "runs": {
      "current": 52,
      "previous": 40,
      "change": 0.3
    },
    "failed": {
      "current": 1,
      "previous": 0,
      "change": null
    },
    "failureRate": 0.0192
  },
  "items": [
    {
      "workflowId": "wf_1",
      "name": "Reply to new enquiries",
      "enabled": true,
      "trigger": "trigger.form",
      "runs": {
        "current": 38,
        "previous": 29,
        "change": 0.31
      },
      "succeeded": 37,
      "failed": {
        "current": 1,
        "previous": 0,
        "change": null
      },
      "inProgress": 0,
      "failureRate": 0.0263,
      "averageSeconds": 4.2,
      "lastFailure": {
        "error": "Email bounced",
        "at": "2026-10-19T02:11:00.000Z"
      }
    }
  ]
}

Site health

GET/sites/{siteId}/analytics/health

What could hold the site back: published pages missing their Google title or description (or with ones too long or short, duplicated, or hidden from search), pages with no views in the period, Google index status when Search Console is connected, the latest PageSpeed score and the latest growth report with its open suggestions.

Path parameters

  • siteIdstringrequired

    The site’s id.

Query parameters

  • periodstring

    A named period in the site’s time zone. 7d, 28d and the like end today; this_month runs from the 1st to today; last_month is the whole month before. Default 28d. Leave it out when you send from and to.

    One of today yesterday 7d 14d 28d 30d 90d 365d this_week last_week this_month last_month this_quarter last_quarter this_year last_year

  • fromstring

    The first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.

  • tostring

    The last day, YYYY-MM-DD, included. Default today.

  • comparestring

    What to compare with: previous (default: the period before; a whole month against the whole month before), year (the same dates a year earlier) or none.

    One of previous year none

Response 200

  • periodobjectrequired
    6 child fields
    • presetstringrequired

      The named period, or custom for from and to.

    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
    • timeZonestringrequired

      The time zone the days are in.

    • timeZoneSourcestringrequired

      site: the site’s own time zone. default: none is set, so UTC.

      One of site default

  • previousobjectrequirednullable

    The comparison period, or null with compare=none.

    3 child fields
    • fromstringrequired
    • tostringrequired
    • daysintegerrequired
  • notesarray of stringsrequired

    What the numbers do and don’t include. Worth passing on.

  • seoobjectrequired
    6 child fields
    • publishedPagesnumberrequired
    • missingSeoTitlenumberrequired
    • missingDescriptionnumberrequired
    • noindexnumberrequired
    • duplicateTitlesnumberrequired
    • pagesWithIssuesnumberrequired
  • pagesWithoutViewsarray of stringsrequired
  • pagesarray of objectsrequired
    7 child fields
    • pathstringrequired
    • kindstringrequired
    • titlestringrequired
    • seoTitlestringrequirednullable
    • descriptionstringrequirednullable
    • viewsnumberrequired
    • issuesarray of stringsrequired
  • indexobjectrequirednullable
    3 child fields
    • checkednumberrequired
    • indexednumberrequired
    • notIndexedarrayrequired
  • pagespeedanyrequirednullable
  • growthReportanyrequirednullable

Errors

  • 401No key, or the key isn’t valid.
  • 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
  • 404Not found, or not reachable with this key.
  • 422The body is invalid; details say which values.
  • 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/analytics/health \
  -H "Authorization: Bearer $UNVOP_KEY"
Response 200
{
  "period": {
    "preset": "last_month",
    "from": "2026-10-01",
    "to": "2026-10-31",
    "days": 31,
    "timeZone": "Pacific/Auckland",
    "timeZoneSource": "site"
  },
  "previous": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "notes": [
    "Page views count every page opened, so a person who opens three pages counts three times.",
    "Visitors and sessions are counted without cookies, by a hash of the IP address and browser that changes every day and is never stored with either. A visitor is unique within one UTC day, so over several days visitors are daily visitors, summed: someone who comes on three days counts three times. A session ends after 30 minutes without activity."
  ],
  "seo": {
    "publishedPages": 14,
    "missingSeoTitle": 1,
    "missingDescription": 3,
    "noindex": 0,
    "duplicateTitles": 0,
    "pagesWithIssues": 4
  },
  "pagesWithoutViews": [
    "/careers"
  ],
  "pages": [
    {
      "path": "/careers",
      "kind": "page",
      "title": "Careers",
      "seoTitle": null,
      "description": null,
      "views": 0,
      "issues": [
        "no-seo-title",
        "no-description"
      ]
    }
  ],
  "index": {
    "checked": 14,
    "indexed": 12,
    "notIndexed": [
      {
        "path": "/careers",
        "coverage": "Discovered - currently not indexed",
        "lastCrawl": null
      }
    ]
  },
  "pagespeed": {
    "url": "https://acme.example/",
    "score": 91
  },
  "growthReport": {
    "id": "grw_1",
    "periodStart": "2026-10-01",
    "periodEnd": "2026-10-31",
    "summary": "A strong month for leads.",
    "openSuggestions": 2,
    "createdAt": "2026-11-03T20:00:00.000Z"
  }
}