Analytics
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.
- GET
/sites/{siteId}/analytics/summaryHow the site is doing - GET
/sites/{siteId}/analytics/trafficTraffic over time - GET
/sites/{siteId}/analytics/pagesTop pages - GET
/sites/{siteId}/analytics/sourcesWhere visitors come from - GET
/sites/{siteId}/analytics/devicesPhones, tablets and computers - GET
/sites/{siteId}/analytics/countriesCountries - GET
/sites/{siteId}/analytics/conversionsConversions - GET
/sites/{siteId}/analytics/leadsLeads by source and stage - GET
/sites/{siteId}/analytics/revenueRevenue - GET
/sites/{siteId}/analytics/searchGoogle search - GET
/sites/{siteId}/analytics/workflowsWorkflow runs - GET
/sites/{siteId}/analytics/healthSite health
How the site is doing
/sites/{siteId}/analytics/summaryThe 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnone
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
metricsobjectrequired10 child fields
visitorsobjectrequiredDaily 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
currentnumberrequiredpreviousnumberrequirednullableThe 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.
sessionsobjectrequiredVisits: a session ends after 30 minutes without activity.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
bounceRateobjectrequiredThe share of sessions that saw one page (0.42 is 42%).
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
avgSessionSecondsobjectrequiredAverage session length in seconds, from the first view to leaving the last page.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
viewsPerSessionobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
returningVisitorsobjectrequirednullableOnly 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
visitorsnumberrequirednewnumberrequiredreturningnumberrequired
viewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
newContactsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
conversionRateobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 stringsrequiredWhat changed most, in sentences.
topPagesarrayrequiredtopLeadPagesarrayrequiredtopSourcesarrayrequired
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/summary', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/summary",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/trafficVisitors, 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonegranularitystringHow to group the series: day (default), week (from Monday) or month.
One of
dayweekmonth
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
granularitystringrequiredOne of
dayweekmonthtotalsobjectrequired10 child fields
viewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
viewsPerDayobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
conversionRateobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
visitorsobjectrequiredDaily 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
currentnumberrequiredpreviousnumberrequirednullableThe 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.
sessionsobjectrequiredVisits: a session ends after 30 minutes without activity.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
bounceRateobjectrequiredThe share of sessions that saw one page (0.42 is 42%).
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
avgSessionSecondsobjectrequiredAverage session length in seconds, from the first view to leaving the last page.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
viewsPerSessionobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
returningVisitorsobjectrequirednullableOnly 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
visitorsnumberrequirednewnumberrequiredreturningnumberrequired
seriesarray of objectsrequired6 child fields
startstringrequiredendstringrequiredviewsnumberrequiredleadsnumberrequiredvisitorsnumberrequiredDaily 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/traffic', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/traffic",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/pagesPages 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonelimitintegerHow many rows to return (default 20).
min 1 · max 100
sortstringOrder by views (default), leads or entries.
One of
viewsleadsentries
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
sortstringrequiredOne of
viewsleadsentriestotalsobjectrequired3 child fields
pagesnumberrequiredviewsnumberrequiredleadsnumberrequired
itemsarray of objectsrequired7 child fields
pathstringrequiredtitlestringrequirednullableviewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
conversionRatenumberrequiredentriesobjectrequiredSessions that started on this page.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
bounceRatenumberrequiredThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/pages', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/pages",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/sourcesReferring 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonelimitintegerHow many rows to return (default 20).
min 1 · max 100
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
totalsobjectrequired2 child fields
viewsnumberrequiredleadsWithSourcenumberrequiredLeads in the period with a known source.
channelsarray of objectsrequired5 child fields
channelstringrequiredviewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
visitorsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired7 child fields
sourcestringrequiredchannelstringrequiredviewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
visitorsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
sessionsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/sources', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/sources",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/devicesViews 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnone
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
itemsarray of objectsrequired6 child fields
keystringrequiredlabelstringrequirednullableviewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
sharenumberrequiredleadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/devices', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/devices",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/countriesViews and leads by country (two-letter code and English name), with share, conversion rate and change.
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonelimitintegerHow many rows to return (default 20).
min 1 · max 100
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
itemsarray of objectsrequired6 child fields
keystringrequiredlabelstringrequirednullableviewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
sharenumberrequiredleadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/countries', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/countries",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/conversionsWhat 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonegranularitystringHow to group the series: day (default), week (from Monday) or month.
One of
dayweekmonth
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
granularitystringrequiredOne of
dayweekmonthtotalsobjectrequired6 child fields
leadsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
paymentsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
viewsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
conversionRateobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
revenuearrayrequiredbookingsnullrequired
formsarray of objectsrequired4 child fields
formIdstringrequiredkeystringrequirednullablenamestringrequiredsubmissionsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired4 child fields
startstringrequiredendstringrequiredleadsnumberrequiredpaymentsnumberrequired
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/conversions', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/conversions",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/leadsNew 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonegranularitystringHow to group the series: day (default), week (from Monday) or month.
One of
dayweekmonth
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
granularitystringrequiredOne of
dayweekmonthtotalsobjectrequired2 child fields
newContactsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired3 child fields
sourcestringrequirednullablelabelstringrequiredcontactsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired5 child fields
stagestringrequiredlabelstringrequirednownumberrequirednewInPeriodnumberrequiredmovedInobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired4 child fields
startstringrequiredendstringrequirednewContactsnumberrequiredleadsnumberrequired
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/leads', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/leads",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/revenueRevenue 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonegranularitystringHow to group the series: day (default), week (from Monday) or month.
One of
dayweekmonth
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
granularitystringrequiredOne of
dayweekmonthcurrenciesarray of objectsrequired3 child fields
currencystringrequiredamountobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
paymentsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired5 child fields
planstringrequirednullablemodestringrequiredcurrencystringrequiredamountnumberrequiredpaymentsnumberrequired
activeSubscriptionsarray of objectsrequired3 child fields
currencystringrequiredcountnumberrequiredamountnumberrequired
seriesobjectrequired2 child fields
currencystringrequirednullablepointsarray of objectsrequired3 child fields
startstringrequiredendstringrequiredamountnumberrequired
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/revenue', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/revenue",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
}
]
}
}Google search
/sites/{siteId}/analytics/searchGoogle Search Console for the site: clicks, impressions, click rate (ctr) and average position against the comparison period, a series, the top queries and pages with their change, and opportunities (queries close to page one, or on page one with few clicks). Needs Search Console connected under Growth; connection says whether it is and how recent the data is (Google reports about two days late).
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnonegranularitystringHow to group the series: day (default), week (from Monday) or month.
One of
dayweekmonthlimitintegerHow many queries, pages and opportunities to return (default 20).
min 1 · max 100
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
connectionobjectrequired4 child fields
connectedbooleanrequiredpropertystringrequirednullablelastSyncAtstringrequirednullabledataThroughstringrequirednullable
totalsobjectrequired4 child fields
clicksobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
impressionsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
ctrobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
positionobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
seriesarrayrequiredqueriesarrayrequiredpagesarrayrequiredopportunitiesarray of objectsrequired7 child fields
querystringrequiredpagestringrequiredclicksnumberrequiredimpressionsnumberrequiredctrnumberrequiredpositionnumberrequiredreasonstringrequiredOne of
near-page-onelow-ctr
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/search \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/search', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/search",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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."
],
"connection": {
"connected": true,
"property": "https://acme.example/",
"lastSyncAt": "2026-11-23T04:00:00.000Z",
"dataThrough": "2026-11-21"
},
"totals": {
"clicks": {
"current": 610,
"previous": 540,
"change": 0.13
},
"impressions": {
"current": 18400,
"previous": 15100,
"change": 0.219
},
"ctr": {
"current": 0.0332,
"previous": 0.0358,
"change": -0.073
},
"position": {
"current": 11.2,
"previous": 12.9,
"change": -0.132
}
},
"queries": [
{
"query": "emergency plumber auckland",
"clicks": {
"current": 140,
"previous": 120,
"change": 0.167
},
"impressions": {
"current": 2100,
"previous": 1900,
"change": 0.105
},
"ctr": 0.0667,
"position": {
"current": 3.1,
"previous": 3.4,
"change": -0.088
}
}
],
"opportunities": [
{
"query": "hot water cylinder repair",
"page": "/services/hot-water",
"clicks": 4,
"impressions": 820,
"ctr": 0.0049,
"position": 8.7,
"reason": "near-page-one"
}
]
}Workflow runs
/sites/{siteId}/analytics/workflowsFor 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnone
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
totalsobjectrequired5 child fields
workflowsnumberrequiredenablednumberrequiredrunsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
failedobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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 objectsrequired6 child fields
workflowIdstringrequirednamestringrequiredrunsobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
failedobjectrequiredA number with its comparison.
3 child fields
currentnumberrequiredpreviousnumberrequirednullableThe 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.
failureRatenumberrequiredaverageSecondsnumberrequirednullable
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/workflows', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/workflows",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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
/sites/{siteId}/analytics/healthWhat 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
siteIdstringrequiredThe site’s id.
Query parameters
periodstringA 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
todayyesterday7d14d28d30d90d365dthis_weeklast_weekthis_monthlast_monththis_quarterlast_quarterthis_yearlast_yearfromstringThe first day, YYYY-MM-DD, in the site’s time zone. Use with to for any range up to 800 days.
tostringThe last day, YYYY-MM-DD, included. Default today.
comparestringWhat 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
previousyearnone
Response 200
periodobjectrequired6 child fields
presetstringrequiredThe named period, or custom for from and to.
fromstringrequiredtostringrequireddaysintegerrequiredtimeZonestringrequiredThe time zone the days are in.
timeZoneSourcestringrequiredsite: the site’s own time zone. default: none is set, so UTC.
One of
sitedefault
previousobjectrequirednullableThe comparison period, or null with compare=none.
3 child fields
fromstringrequiredtostringrequireddaysintegerrequired
notesarray of stringsrequiredWhat the numbers do and don’t include. Worth passing on.
seoobjectrequired6 child fields
publishedPagesnumberrequiredmissingSeoTitlenumberrequiredmissingDescriptionnumberrequirednoindexnumberrequiredduplicateTitlesnumberrequiredpagesWithIssuesnumberrequired
pagesWithoutViewsarray of stringsrequiredpagesarray of objectsrequired7 child fields
pathstringrequiredkindstringrequiredtitlestringrequiredseoTitlestringrequirednullabledescriptionstringrequirednullableviewsnumberrequiredissuesarray of stringsrequired
indexobjectrequirednullable3 child fields
checkednumberrequiredindexednumberrequirednotIndexedarrayrequired
pagespeedanyrequirednullablegrowthReportanyrequirednullable
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"const res = await fetch('https://api.unvop.com/v1/sites/site_123/analytics/health', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/analytics/health",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"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"
}
}