Skip to content

Add support for Simple Analytics#3501

Open
daniel-gomm wants to merge 2 commits intoalshedivat:mainfrom
daniel-gomm:main
Open

Add support for Simple Analytics#3501
daniel-gomm wants to merge 2 commits intoalshedivat:mainfrom
daniel-gomm:main

Conversation

@daniel-gomm
Copy link

@daniel-gomm daniel-gomm commented Feb 5, 2026

This PR adds support for Simple Analytics, an EU-based, privacy-first alternative to google analytics that is compliant with GDPR, PECR, and CCPA without requiring consent to cookies.

Implementation includes a new field in the configuration (site.enable_simple_analytics), the insertion of the analytics script when this field is set to true, and an update to the documentation.

To follow the implementation of the other analytics providers, I have added support for cookie-consent, though this is not strictly necessary for Simple Analytics under GDPR (https://www.simpleanalytics.com/#why) since it does not use cookies or collect any PII data.

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@netlify
Copy link

netlify bot commented Feb 5, 2026

Deploy Preview for relaxed-lollipop-b6bc17 failed. Why did it fail? →

Name Link
🔨 Latest commit ceafbae
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-lollipop-b6bc17/deploys/6984ea17ec20e3000862f842

@daniel-gomm
Copy link
Author

daniel-gomm commented Feb 5, 2026

Following-up on this PR:
Given that, to the best of my knowledge, Simple Analytics, Pirsch, and OpenPanel, do not use tracking cookies and thus do not require cookie-consent (under GDPR and other privacy policies), it seems to me that the documentation should reflect this to provide users of the template the means to make a more informed choice in how to configure their website.

@george-gca
Copy link
Collaborator

Recently, I added support for the GDPR cookie consent in #3492, but to be honest I don't have enough knowledge about how these cookies work and how to enable/disable then correctly. For example, I have no idea who uses tracking cookies and who doesn't. If you have this information and could add to the documentation (preferably pointing to the source of the information) would be much appreciated.

@daniel-gomm
Copy link
Author

Recently, I added support for the GDPR cookie consent in #3492, but to be honest I don't have enough knowledge about how these cookies work and how to enable/disable then correctly. For example, I have no idea who uses tracking cookies and who doesn't. If you have this information and could add to the documentation (preferably pointing to the source of the information) would be much appreciated.

I've read into the topic a bit and updated the documentation accordingly, linking to the respective parts of the documentation of the different analytics providers. ANALYTICS.md did already specify which analytics providers require cookie consent. I've also included a note on the requirement to ask for cookie consent if third-party contents that themselves require consent (e.g., YouTube videos,...) are embedded on the site. This is covered, for instance, by this article.

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

Successfully merging this pull request may close these issues.

2 participants