This webtrees module adds a footer link to a legal notice and privacy policy page.
Current module version: 2.2.6.10.
Important
This module does not provide legal advice. You, as administrator of your website, remain responsible for checking and maintaining the legal notice and privacy policy shown on your site (in all languages provided by this module). If necessary, you can fork this module and adapt it to your needs.
There is a German manual page available, too.
This README contains the following main sections:
- Purpose
- Scope
- What's new
- Screenshots
- Requirements
- Installation
- Upgrade
- Contributing
- Translation
- Credits
- Privacy, telemetry, and tracking
- Contact Support
- License
This module adds a footer link to a legal notice and privacy policy page on all pages of a webtrees site.
Whether a webtrees website legally requires a legal notice or privacy policy depends on your local law and on the character of your site, for example whether it is purely private or publicly accessible. When in doubt, consult a qualified lawyer in your jurisdiction.
There may be a need to present a legal notice on your website:
- Germany: § 5 Digitale-Dienste-Gesetz (DDG) and § 4 Medienstaatsvertrag (MStV)
- Austria: § 5 Abs. 1 E-Commerce-Gesetz (ECG)
- Switzerland: Art. 3 des Bundesgesetzes gegen den unlauteren Wettbewerb (UWG)
The generated page is structured into three parts:
- Legal Notice with the provider and contact details; this part is always shown.
- Privacy Policy with several configurable sections; this chapter is optional.
- Legal Regulations with several configurable sections; this chapter is optional.
The optional chapters and their sections can be reordered and individually enabled or disabled. There are two styles provided for those sections: "I" style and "We" style, depending on the number of website administrators.
The legal notice is a mandatory part of the legal notice and privacy policy.
The webtrees admin can define the following data fields in the control panel for the provider named in the legal notice
- name of provider
- name of genealogical club or organization
- address
- phone and fax numbers
- email address (with or without subject and body of email)
- VAT ID number or other registration number (like a club registration number)
The webtrees admin can choose if the list of genealogical and technical contact persons for a tree should be shown with their contact links. If a tree contact or website administrator is the same person as the provider named in the legal notice, the module avoids showing this person as a separate additional contact. Instead, the relevant contact role is shown directly below the provider as an additional role.
The webtrees admin can choose if the following additional parts should be shown
- image of the provider using the Gravatar
- editorial responsibility notice according to the German law § 18 Abs. 2 MStV, where applicable
- copyright notice in the footer
The administrator can also configure the server location, the applicable legal jurisdictions, hosting provider,
supervisory authority, third-party services, and whether registered users are relatives or relatives by marriage.
Several legal jurisdictions can apply simultaneously. By default, the module infers them from the configured server
location; the administrator can override this with an explicit multi-selection. A warning then remains visible in
the settings. Server location and applicable law remain separate concepts. See
docs/legal-jurisdictions.md for the supported jurisdictions and migration behavior.
The generated privacy policy can include, depending on the configuration and applicable legal jurisdictions:
- a named competent supervisory authority with URL
- independent references to EU/EEA data-protection law and to supported national law in Germany, Austria, or Switzerland
- legal bases for processing under the GDPR where EU/EEA law is selected
- configurable research purpose wording for family research, one-name studies, local family books, farmstead research, thematic research, migration research, community research, or webtrees and genealogical test data
- when the optional
hh-family-trees-listmodule is enabled and exposes its public research-purpose API, the settings page shows the configured purposes grouped by frequency together with the corresponding family-tree names - data protection contact information referring to the provider named in the legal notice
- information about hosting, structured order-processing agreement dates, application logs, third-party services, tracking and analytics, and third-country transfers
- information about retention periods for inactive user accounts
- information that registered users can view, correct, or delete account data in their profile settings
- information about typical sources of genealogical data and the fact that the persons concerned may not have supplied the data themselves
- GEDCOM as a structured, machine-readable export format where providing an export is appropriate and legally permissible
- information about the long-term preservation of genealogical data as historically relevant material
- information about special categories of genealogical personal data and their protection period after death
- an optional age threshold for additional protection of minors, shown in the privacy policy only when the configured value is greater than zero and intended for enforcement by
hh_privacy_assistant - information about assessing and, where legally required, reporting personal data breaches
- optional consumer dispute resolution notice for websites based on German law
- additional third-party services can be configured by the administrator using service name, URL, and optional country of service provision. If EU/EEA data-protection law is selected and a configured service is provided from outside the European Economic Area, the generated privacy policy can include a third-country-transfer notice.
- the privacy-policy page can also include information from other installed modules. Compatible modules can expose a public
privacyNotices(): arraymethod with third-party services and security measures. The complete contract for supplying modules, field definitions, translation guidance, and a PHP example are documented indocs/privacy-notices-contract.md. This is used, for example, byhh_source_transcriptionfor external transcription providers such as Transkribus or Discourse. Active webtrees map providers and map links can also be detected and listed as third-party services.
For special categories of personal data, such as religious affiliation, political affiliation, genetic data, health data, or causes of death, the administrator can configure a protection period from 0 to 100 years after death. The default is 10 years.
The administrator can also configure an age threshold from 0 to 100 for additional protection of minors.
The value 0 disables the additional age-based protection and suppresses the corresponding privacy-policy statement.
hh_privacy_assistant can reuse a positive value when applying RESN CONFIDENTIAL automatically.
The legal-regulations chapter can include notices about copyright, distribution of genealogical data, automated collection, scraping, data mining, AI-system use, technical measures against unwanted automated access, and copyright enforcement.
This release adds compatibility with webtrees 2.2 and 2.3. It also separates the module from the Core PrivacyPolicy implementation, so the module owns its privacy-policy and footer behavior.
Further changes include:
- the Google Charts privacy-service option is shown only where the corresponding webtrees Core version still uses Google Charts;
- administrators can select the applicable legal jurisdictions independently of the physical server location;
- privacy-notice integrations accept scalar values as well as the documented list format;
- the privacy policy describes the current registration-agreement notice without claiming that webtrees stores a versioned acceptance record.
This release improves third-party service notices and fixes the integration with hh-family-trees-list:
- Reports for the same external service are consolidated without losing the supplying modules, their specific uses, data categories, or differing provider details. Wikimedia, Wikidata, Wikipedia, and Wikimedia Commons share one Wikimedia Foundation entry.
- Third-party service details now appear in the order webtrees core, map providers, external transcription providers, and additional services, followed by third-country transfers. The Gravatar entry identifies its optional use by
hh_legal_notice. - The data-export and shortened version-check sections now appear directly before the hosting section.
- The settings page now correctly detects
hh-family-trees-listand shows its configured research purposes and corresponding family trees. - The German version-check information now consistently refers to the webtrees administration menu as “webtrees-Verwaltungsmenü”.
The remaining open topic is documentation for cookies and for obtaining consent before tracking services or website tools are used. This depends on related improvements in webtrees itself, which need to be resolved first.
The screenshots show sample views of the Legal Notice and Privacy Policy pages. Both the configuration menu and the generated page content depend on the module settings and on the options selected in webtrees.
Screenshot of Legal Notice footer
Screenshot of Legal Notice page
Screenshot of Privacy Policy page
Screenshot of Legal Regulations page
Screenshot of control panel sections
Screenshot of control panel details
This module requires webtrees version 2.2 or 2.3. This module has the same requirements as webtrees#system-requirements.
This module was tested with webtrees version 2.2.6 and the webtrees 2.3 development code.
This section documents installation instructions for this module.
Install and use Custom Module Manager for an easy and convenient installation of webtrees custom modules.
- Open the Custom Module Manager view in webtrees, scroll to "Legal Notice and Privacy Policy", and click the "Install Module" button.
Manual installation:
- Make a database backup.
- Download the latest release.
- Unzip the package into your
webtrees/modules_v4directory of your web server. - Rename the folder to
hh_legal_notice.
Finish installation:
- Login to webtrees as administrator, go to Control Panel/Modules/Website/Footers, and find the module. It will be called "Legal Notice and Privacy Policy".
- Click the wrench icon and add all desired information fields.
- Finally, click Save to complete the installation.
- You may want to deactivate the core footer module "contact information" if this module already shows the desired contact information.
To update simply replace the hh_legal_notice files
with the new ones from the latest release.
- Do NOT delete the module settings of the former
hh_imprintmodule before the installation ofhh_legal_notice. - Delete the folder
hh_imprintin yourwebtrees/modules_v4directory. - Install the
hh_legal_noticemodule as described in Installation. - Open the Control Panel page of this footer module;
hh_legal_noticewill take over the existing settings fromhh_imprint. You should see a notice. - After
hh_legal_noticehas migrated the settings,hh_imprintcan be removed and the related settings can be deleted (follow the message in the control panel after deletion of the module).
If you'd like to contribute to this module, great! You can contribute by
- Reading and commenting the legal chapters carefully - choose a specific topic and please create an issue for that topic.
- Contributing code - check out the issues for things that need attention. If you have changes you want to make not listed in an issue, please create one, then you can link your pull request.
- Testing - it's all manual currently, please create an issue for any bugs you find.
In addition to English, the following languages are available:
- Catalan (by Bernat Josep Banyuls i Sala)
- Dutch (by TheDutchJewel)
- German (by Hermann Hartenthaler)
You can use a local editor, like Poedit or Notepad++ to make the translations and send them back to me. You can do this via a pull request (if you know how) or by e-mail. Discussion on translating can be done by creating an issue.
Updated translations will be included in the next release of this module.
Developed by Hermann Hartenthaler with support from OpenAI Codex and JetBrains PhpStorm.
The module is based on ideas and earlier work from Josef Prause's jp-privacy-policy module and related webtrees community discussions.
This module does not collect analytics data, does not track users, and does not send any data to the module author.
When the webtrees control panel is opened, the module checks whether a newer version is available. This version check requests only the module's public latest-version URL on github.com.
The module can optionally show an image of the provider through Gravatar. If this option is enabled, the visitor's browser requests an image from www.gravatar.com; the configured e-mail address is used only as a hash in the Gravatar image URL. Gravatar may process the visitor's IP address and normal browser request metadata. The generated privacy policy can list Gravatar as a third-party service and can mention possible third-country transfer where EU data-protection law applies.
Issues: for any ideas you have, or when finding a bug you can raise an issue.
Forum: general webtrees support can be found at the webtrees forum.
- Copyright (C) 2026 Hermann Hartenthaler
- Derived from webtrees - Copyright 2026 webtrees development team.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.





