Changeset 834bcc3 in Klonkt for src/routes/admin-stats.js
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/routes/admin-stats.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-stats.js
rbb42dfb r834bcc3 1 1 /** 2 * Admin: Statisti eken (premium-module, god-only).2 * Admin: Statistics (premium module, god-only). 3 3 * 4 * GET /admin/stats -> cookie vrije statistieken: bezoekers/weergaven per dag,5 * plays, en de populairsteposts/tracks.4 * GET /admin/stats -> cookie-free statistics: visitors/views per day, 5 * plays, and the most popular posts/tracks. 6 6 * 7 * Premium-gated via premiumUnlocked() (premium -laag uit = gewoon beschikbaar;8 * aan = Patreon vereist). Tracking zit in StatsService (geencookies).7 * Premium-gated via premiumUnlocked() (premium layer off = freely available; 8 * on = Patreon required). Tracking is in StatsService (no cookies). 9 9 */ 10 10 … … 22 22 return res.status(403).send('Statistieken is een premium-functie — koppel Patreon in Beheer → Instellingen.'); 23 23 } 24 // Link-in-bio klikken (premium #6) voor de huidigesite.24 // Link-in-bio clicks (premium #6) for the current site. 25 25 let linkClicks = []; 26 26 if (res.locals.site) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)