Landing pages end to end
const url = 'https://digize.com/api/v1/analytics/landing-pages?days=28&limit=20';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/analytics/landing-pages?days=28&limit=20' \ --header 'x-api-key: <x-api-key>'Each page visits start on over the last days, with three sources joined by path: how Google shows it (Search Console’s impressions, clicks, click rate against what its position usually gets, position and top searches, when Search Console is connected), what the visits that started there did (Digize’s own site events: visits, bounce rate, engaged time, how far down they got, LCP and INP at p75, errors, rage and dead clicks, by device), and what they led to (conversion rate, and visits and value by outcome). verdicts says what the numbers point to where there are enough of them, such as a listing few click on Google against people landing and leaving, and sources names each source’s gaps. Use it for “where do visitors come from and what happens when they land”, and beside analytics.compare for “why don’t they buy”.
Needs the analytics:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The window: the last 1 to 90 days, to now. 28 matches Search Console’s latest 28 days.
The window: the last 1 to 90 days, to now. 28 matches Search Console’s latest 28 days.
One site, by its id; every site when left out.
One site, by its id; every site when left out.
One landing page, such as /pricing.
One landing page, such as /pricing.
How many pages, the most visited first.
How many pages, the most visited first.
Responses
Section titled “Responses”Done
object
More landing pages than one query reads: the commonest are.
Every visit read, to weigh one page against the rest.
object
Each source in a sentence: what it covers and what it misses.
object
object
object
Visits that started on the page.
Visits that saw only this page, engaged under 10 seconds, and led to nothing.
Engaged time per visit, across its pages.
Visits that got halfway down a page.
Visits with a JavaScript error or an error page.
Visits with rage clicks.
Visits with dead clicks.
Largest Contentful Paint at p75 on the page, in ms.
Interaction to Next Paint at p75 on the page, in ms.
Web Vitals readings behind them.
object
LCP at p75 on this device, once it has 10 readings.
object
Visits that sent a form, booked or bought.
Each outcome the visits reached.
object
Added up, in minor units of currency.
object
Clicks over impressions, 0 to 1.
Its average place on Google, 1 the top.
The click rate a result usually gets at that position.
Its most clicked searches, of those Search Console lists.
object
What the numbers point to, where there are enough of them: speed, errors, people landing and leaving, a listing on Google few click, a page converting poorly, one almost ranking, or one working well.
object
Example
{ "unavailable": { "reason": "token" }, "searchConsole": { "status": "connected", "source": "stored" }, "pages": [ { "visits": { "devices": [ { "device": "phone" } ] }, "outcomes": { "byOutcome": [ { "outcome": "lead" } ] }, "verdicts": [ { "kind": "speed" } ] } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}