Closed huksley closed 1 year ago
thanks for reporting @huksley! we actually don't have time on page in the stats api at this time. what you're looking at is visit duration which is a different metric from time on page. we'd like to introduce time on page in the stats api in the future. there's a thread for this feature request here: https://github.com/plausible/analytics/discussions/2727. i'm closing this as we keep the github issues for actual changes to our docs. thanks!
Hi, I am using cloud version and query API using /aggregate API call, e.g.
Output result is
Documentation states, visit_duration is in seconds, so it it 34 minutes?!
But in the UI it is more realistic (3m 48s)
My goal is to get statistics per
/v/ID
page on visits and custom goal execution (AddComment, Like, etc.). Is the API can be used for that?