Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Session metadata example

Blue Mouse163e84a59000
diff --git a/docs/api/stats.md b/docs/api/stats.md
index ab4a2b6af..b052f8d23 100644
--- a/docs/api/stats.md
+++ b/docs/api/stats.md
@@ -706,8 +706,14 @@ curl 'https://api.swetrix.com/v1/log/session?pid=YOUR_PROJECT_ID&psid=SESSION_ID
},
{
"type": "pageview",
- "value": "/settings",
- "created": "2023-12-20 16:57:32"
+ "value": "/blog/how-to-do-stuff",
+ "created": "2023-12-20 16:57:32",
+ "metadata": [
+ {
+ "key": "author",
+ "value": "James"
+ }
+ ]
},
{
"type": "event",