Web Analytics endpoints
Endpoints you can access within the web analytics scope
Get website stats
GET
https://alpina.cloud/api/v1/client/wa/{PROFILE_UUID}/stats
Returns pageview stats in a given time window (both daily and total)
Path Parameters
Name | Type | Description |
---|---|---|
PROFILE_UUID | string | UUID of profile |
Query Parameters
Name | Type | Description |
---|---|---|
from | string | UNIX Timestamp |
to | string | UNIX Timestamp |
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | API key with WEB_ANALYTICS_SCOPE |
x-api-secret | string | API secret with WEB_ANALYTICS_SCOPE |
Get raw feed
GET
https://alpina.cloud/api/v1/client/wa/{PROFILE_UUID}/feed
Returns raw pageviews and events
Path Parameters
Name | Type | Description |
---|---|---|
PROFILE_UUID | string | UUID of profile |
Query Parameters
Name | Type | Description |
---|---|---|
from | string | UNIX Timestamp |
to | string | UNIX Timestamp |
scopes | string | Data scope, possible values: "event", "pageview" or "pageview,event" to request both |
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | API key with WEB_ANALYTICS_SCOPE |
x-api-secret | string | API secret with WEB_ANALYTICS_SCOPE |
Last updated