Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Your users have a right for privacy.

Regulations like the e-privacy directive and the GDPR give people specific privacy rights in relation to electronic communications.

This module provides a way for also anonymous users to opt-out or to opt-in for:

  • Matomo
  • Google Analytics

This list may be expanded in future.

Opt-out
Some privacy enhanced analytics tools like Matomo may be configured in a way, so that just an opt-out is necessary.

Opt-in
In general you must tell people if you set cookies, and clearly explain what the cookies do and why. You must also get the user’s consent. Consent must be actively and clearly given.

Cookies or similar devices must not be used unless the subscriber or user of the relevant terminal equipment:
(a) is provided with clear and comprehensive information about the purposes of the storage of, or access to, that information; and
(b) has given his or her consent.

https://ico.org.uk/for-organisations/guide-to-pecr/guidance-on-the-use-o...

You can use this module on top of:
Drupal Matomo Module
Drupal Google Analytics Module

Features:
- Can prevent loading the analytic scripts by default (Opt-In)
- Uses the browser storage instead of a cookie for the user setting (no iframe for e.g. Matomo is needed to allow users to check/choose their settings! so the info uses your theme css/font and is also easily style able)
- Opt-out for privacy enhanced tools like Matomo
- Provides a token and a block to place the Opt-In/Out checkbox and translatable text somewhere on your site
- This module respects the Do-Not-Track Browser setting by default! Info will be shown instead of the checkbox if a user has this setting active in his browser.
- Translatable via Drupal Interface Translations
- Simple js

This simple Info can be displayed directly somewhere at your website (e.g. the Privacy page) and will switch the infos as selected:

Thanks to Jon Uhlmann for his work over at dev.to after we had a discussion about this topic :)

Some more information and a list of OpenSource analytics tools can be found here.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0-beta10 Pre-release Nov 18, 2023
1.0.0-beta9 Pre-release Oct 11, 2023