Summary
Add a native integration with OneDollarStats to provide simple, privacy-friendly, and affordable web analytics for static sites built with this framework.
Motivation
- Static sites need lightweight analytics without complex setup.
- OneDollarStats focuses on privacy (no cookies, GDPR-friendly) and simplicity, aligning well with static-site philosophy.
- Affordable pricing and low overhead make it attractive for hobby projects, blogs, and small business sites.
Proposed Solution
- Provide an official plugin/integration that:
- Injects the OneDollarStats tracking script into built pages.
- Supports per-environment configuration (disable in development).
Configuration Example
integrations:
onedollarstats:
enabled: true
Implementation Details
References
Summary
Add a native integration with OneDollarStats to provide simple, privacy-friendly, and affordable web analytics for static sites built with this framework.
Motivation
Proposed Solution
Configuration Example
Implementation Details
Add a build-time hook to conditionally inject:
<script defer src="https://assets.onedollarstats.com/stonks.js"></script>Ensure:
References