Store funnel
const url = 'https://digize.com/api/v1/google-analytics/store-funnel?startDate=28daysAgo&endDate=yesterday&by=device';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/google-analytics/store-funnel?startDate=28daysAgo&endDate=yesterday&by=device' \ --header 'x-api-key: <x-api-key>'The store’s funnel from GA4: how many people viewed a product (view_item), added one to the cart (add_to_cart), began a checkout (begin_checkout) and bought (purchase) over a range, with each step’s rate from the one before, for every visit and by device or channel if asked. Says plainly which steps the property recorded none of, which means its site doesn’t send them.
Needs the analytics:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The first day: a date such as 2026-10-01, or today, yesterday or NdaysAgo, on the property’s clock.
The first day: a date such as 2026-10-01, or today, yesterday or NdaysAgo, on the property’s clock.
The last day.
The last day.
Also each device, or each channel.
Also each device, or each channel.
Responses
Section titled “Responses”Done
object
object
The property’s clock, which its days are on.
Every visit first, then each device or channel, the most visits first.
object
The device or channel; null for every visit.
object
People who sent the event at least once.
Users over the step before’s, 0 to 1; null for the first step or after one nobody reached.
People who bought over people who viewed a product; null when nobody viewed one.
The steps the property recorded none of over the days.
What the missing steps mean; null when none are.
Example
{ "by": "device", "groups": [ { "steps": [ { "event": "view_item" } ] } ], "missing": [ "view_item" ]}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" }}