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

#https://github.com/tnonate/thenewoil/issues/10 #11

Closed
Rikthepixel opened this issue Mar 27, 2024 · 0 comments
Closed

#https://github.com/tnonate/thenewoil/issues/10 #11

Rikthepixel opened this issue Mar 27, 2024 · 0 comments

Comments

@Rikthepixel
Copy link
Collaborator

Rikthepixel commented Mar 27, 2024

Adblockers like uBlock that make use of EasyList block the self-hosted Plausible analytics. The (publicily available) analytics are helpful to know how much effort should be spent into the website as a whole.

For now a workaround has been used by naming the analytics domain plausible.thenewoil.org, but this will likely be blocked later on. A reliable way to do analytics that can't be blocked (and in our case must respect privacy) is server-side analytics. A few options are on the table:

[Caddy metrics](https://caddyserver.com/docs/metrics), these are server-side and can be made public. I don't know how much Caddy metrics respects privacy or if it conforms to GDPR, so that will have to be looked into.
[Manually calling the Plausible API](https://plausible.io/docs/events-api), Somehow the server (Caddy) could call the Plausible API to register a page-view. Idk if this is possible.
(Last resort 💀) Automate a way to change the analytics domain. If all else fails, this is a (janky) last resort. Add a hash in front of the domain so like aejklg.thenewoil.org. It could be automated, but that would be hard and janky. I advice against it, but it is technically possible.
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