Stats API gives the wrong 'Time on Page' value #4830
Answered
by
ruslandoga
Sw0xy
asked this question in
Self-Hosted Support
-
Hi, {
"site_id": "site.com",
"filters": [
[
"is",
"event:page",
[
"/mypage"
]
]
],
"metrics": [ "visit_duration"],
"date_range": "day"
} result: {
"results": [
{
"metrics": [
5718
],
"dimensions": []
}
],
"meta": {},
"query": {
"site_id": "site.com",
"metrics": [
"visit_duration"
],
"date_range": [
"2024-11-17T00:00:00+03:00",
"2024-11-17T23:59:59+03:00"
],
"filters": [
[
"is",
"event:page",
[
"/mypage"
]
]
],
"dimensions": [],
"order_by": [
[
"visit_duration",
"desc"
]
],
"include": {},
"pagination": {
"offset": 0,
"limit": 10000
}
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
ruslandoga
Nov 17, 2024
Replies: 1 comment
-
👋 AFAIK APIv2 was still in beta during the latest CE release. So it's not officially available yet even though some APIv2 code might be there. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Sw0xy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👋
AFAIK APIv2 was still in beta during the latest CE release. So it's not officially available yet even though some APIv2 code might be there.