Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage analytics #70

Open
loket opened this issue Sep 6, 2023 · 3 comments
Open

Add usage analytics #70

loket opened this issue Sep 6, 2023 · 3 comments

Comments

@loket
Copy link
Member

loket commented Sep 6, 2023

It would be very useful to add some sort of analytics to the site, to know how much it's used. There's currently nothing.

Ideally, usage should be reported without JavaScript (i.e. using server logs), but I've yet to find a hosting provider that does that (at least for free/cheap). I could of course host it myself, but I'd rather not.

CloudFlare offers Free Website Analytics, and they also have free Pages, which would solve #67.

@loket
Copy link
Member Author

loket commented Sep 6, 2023

Also, it's important that analytics are disabled when running locally. Should consider including this as part of the production build.

@loket
Copy link
Member Author

loket commented Sep 6, 2023

Eleventy also supports environment variables, which could probably be used here.

@loket
Copy link
Member Author

loket commented Sep 8, 2023

Mixpanel offers a very generous free tier, with a promising privacy policy. Probably the best choice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant