customerBehavioralSummary
Fetch an aggregated behavioral (analytics) summary for one customer — event/session/page-view counts and their most frequent event.
Use customerTimeline to inspect individual events instead
of the aggregate.
Auth · x-app-token · required permission showCustomers
Related: customerTimeline, CustomerBehavioralSummary
QUERY
customerBehavioralSummary(customerId: String!): CustomerBehavioralSummaryArguments
customerId
String!
required
Customer id to summarize.
Returns
eventCount
Int!
Total tracked events for this customer.
lastSeenAt
String
Timestamp of the most recent tracked event.
firstSeenAt
String
Timestamp of the earliest tracked event.
sessionCount
Int!
Total distinct sessions.
pageViewCount
Int!
Total page-view events.
lastPageUrl
String
URL of the last page viewed.
topEvent
String
Most frequent event name for this customer.
Query
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦