Displaying Analytics
Learn how to begin displaying analytic events
Count
await Plaudy.count({
"events": [
"purchase",
"click",
"visit"
],
"timeframe": {
"start": 1597079145327,
"end": +new Date()
},
"user_id": "USER_ID" // if you didn't pass this in when using .identify()
"object_id": "OBJECT_ID" // if you didn't pass this in when using .identify()
});Options
Examples
1. Count page views today
2. Count clicks and page views this week
Last updated
Was this helpful?