Dashboard: add Website section with Plausible analytics (9 visitors, 37 pageviews, 2 agents sold) + auto-fetch from stats webhook at 03:00 daily

This commit is contained in:
Oliver
2026-06-11 05:31:10 -03:00
parent ece87fee04
commit ec80537e4b
3 changed files with 335 additions and 37 deletions
+85 -9
View File
@@ -1,18 +1,94 @@
{
"week": "",
"updated": "",
"visitors": 0,
"period": "2026-06-09 to 2026-06-10",
"updated": "2026-06-11 08:30",
"visitors": 9,
"visitors_change": "",
"pageviews": 0,
"pageviews": 37,
"pageviews_change": "",
"bounce_rate": "",
"bounce_rate": "\u2014",
"bounce_rate_change": "",
"visit_duration": "",
"visit_duration": "\u2014",
"visit_duration_change": "",
"agents_sold": 2,
"top_pages": [],
"top_referrers": [],
"events": [],
"what_worked": [],
"top_referrers": [
{
"source": "Direct / None",
"visitors": 7
},
{
"source": "Youtube",
"visitors": 2
}
],
"visitors_by_day": [
{
"date": "2026-06-09",
"visitors": 4
},
{
"date": "2026-06-10",
"visitors": 5
}
],
"countries": [
{
"country": "US",
"visitors": 4
},
{
"country": "PY",
"visitors": 2
},
{
"country": "AU",
"visitors": 1
},
{
"country": "DE",
"visitors": 1
},
{
"country": "TR",
"visitors": 1
}
],
"events": [
{
"name": "Scroll Depth",
"total": 78,
"unique": 3
},
{
"name": "pageview",
"total": 37,
"unique": 9
},
{
"name": "Outbound Link: Click",
"total": 1,
"unique": 1
},
{
"name": "engagement",
"total": 0,
"unique": 6
}
],
"utm_sources": [
{
"source": "(not set)",
"visitors": 7
},
{
"source": "youtube",
"visitors": 2
}
],
"what_worked": [
"9 unique visitors across 2 days of tracking",
"37 pageviews with 4 event types tracked"
],
"what_didnt": [],
"recommendations": []
}