=== DSGVO Lotse ===
Contributors: lwdigital
Tags: gdpr, privacy, imprint, dsgvo, consent
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Finds the privacy problems on small German websites and fixes most of them with one click. Includes an imprint and a privacy policy generator.

== Description ==

DSGVO Lotse is a privacy checker for small German WordPress sites: company
websites of tradespeople, local service providers, clubs and sole traders. It
scans the site for the handful of mistakes that actually get German site owners
into trouble, explains each finding in plain language together with its legal
basis, and repairs most of them with a single click.

**A note on language.** The plugin interface and every text it generates are in
German. That is a deliberate decision, not an oversight: the whole plugin is
built around German law (DDG, TDDDG and the German reading of the GDPR), and a
privacy policy written in English would be worthless to the people this plugin
is for. A translation template is included, so interface translations through
translate.wordpress.org are welcome. The generated legal texts will stay German.

= Deliberately not another cookie banner plugin =

This plugin ships no cookie banner. For a typical small German business site a
banner is often not required at all, and the scan says so when that is the
case, rather than setting one up regardless.

If the scan does find real tracking, the plugin says so clearly and then points
you to a dedicated consent plugin, because that is the right tool for that job.

= What the scan looks at =

One click produces a readable list with a traffic light and a score. Among other
things it checks whether:

* the site loads Google Fonts from Google's servers (the single most expensive problem on German sites)
* YouTube, Vimeo or Google Maps embeds load before anyone has consented
* an imprint page exists and is reachable from every page
* the mandatory details in that imprint are complete
* a privacy policy exists
* any other third-party servers are contacted by the front page
* the site runs on HTTPS throughout
* user names can be read by anyone through the REST API
* IP addresses are stored with comments
* WordPress loads its emoji script from a remote server
* Gravatar transfers e-mail hashes to the United States
* the contact form carries a privacy notice
* WordPress, themes and plugins are up to date (security is part of privacy)

Each finding is written in everyday German and says what was found, why it
matters for a small business, and what to do about it. The legal basis is given
so the owner can look it up.

= Fix it with one click =

For the most common problems there is a button:

* stop loading Google Fonts from Google
* turn off the emoji script
* turn off Gravatar
* turn off oEmbed discovery
* block the public user list in the REST API
* shorten IP addresses stored with comments
* force HTTPS for login and admin area

= Two-click blocker for videos and maps =

YouTube, Vimeo, Google Maps, OpenStreetMap, SoundCloud and Spotify are only
loaded once a visitor actively clicks. Until then they see a plain, accessible
placeholder that says what will happen on click.

The consent is stored in the browser's local storage, explicitly not in a
cookie, so that the blocker does not itself create a consent requirement.

= Audit log =

Every scan is recorded with its date and score under "Protokoll". Print it from
the browser as a PDF and keep it with your records - that is what the
accountability obligation of Article 5(2) GDPR asks for.

= Imprint generator =

Enter the company details once and get a complete German imprint page. It covers
the cases that really occur in small businesses: sole proprietorships,
partnerships, the small business rule of section 19 of the German VAT Act,
chamber of crafts membership, regulated professions, professional liability
insurance and the person responsible under section 18(2) MStV.

= Privacy policy generator =

Built from modules and pre-filled from the scan: only the modules whose services
were actually found on the site are suggested. A privacy policy that describes
things which do not exist on your site is worse than none at all.

= What this plugin does not do =

* It sends no data to us or anyone else. The scan runs entirely on your server.
* It loads no remote code. Everything it needs is in the package.
* It changes nothing on the site until you switch something on yourself. Every switch is off by default.
* This build from the WordPress directory makes no outbound connections at all. It contains no licence field and calls no remote server.

= Please read this =

This plugin is a tool, not legal advice. It covers the usual pitfalls of small
websites, and it is version 0.1.2 - a first release. If you are unsure, and
especially in heavily regulated industries, ask a lawyer specialising in IT law.
Responsibility for your website stays with you.

= A paid add-on is planned - and not available yet =

Every feature described above is part of this free plugin and fully usable,
including the audit log. There is no licence field and no locked button
anywhere in this build, and nothing in it stops working after a trial period.

A separate paid add-on is in preparation. It is **not on sale today**, so
please do not install this plugin expecting to buy anything. When it exists it
will be a separate download from the plugin's home page,
[wienstechnology.com/dsgvo-lotse](https://wienstechnology.com/dsgvo-lotse), and
it will only automate work this plugin leaves to you:

* **Scheduled scan with an e-mail report** - a theme update brings Google Fonts back and you hear about it without looking
* **Automatic local hosting of Google Fonts** - the fonts are downloaded and served from your own server, so the design stays intact
* **A licence covering several sites**, for people who maintain more than their own
* **Support in German**

== External services ==

This plugin contacts **no third-party service at all**. There is no account, no
API key and no telemetry.

The scan works by requesting **your own website** from your own server
(loopback requests to your site's home URL and to its REST route
`wp/v2/users`) and reading what comes back. The update check reads the
information WordPress core has already collected (`get_plugin_updates()`,
`get_theme_updates()`, `get_core_updates()`) and makes no request of its own.
Nothing is sent anywhere else, and no data about you or your visitors leaves
your server.

A note on the host names you will find in the source code: files such as
`includes/scanner/checks/checks-external.php` and
`includes/frontend/class-embed-blocker.php` contain lists of host names like
Google Tag Manager, Meta Pixel, Google Maps or Gravatar. These are **search
patterns** used to look for those hosts inside your own HTML, and host names the
two-click blocker keeps from loading. The plugin never loads anything from them
- finding them is the whole point of the scan.

== Installation ==

1. Install and activate the plugin.
2. Click **DSGVO Lotse** in the admin menu.
3. Start the scan. It takes a few seconds.
4. Work through the list from top to bottom. Where there is a button, one click is enough.

A backup before larger changes is never a bad idea.

== Frequently Asked Questions ==

= Does this plugin make my website automatically GDPR compliant? =

No - no plugin can. DSGVO Lotse finds the technical problems that can be
detected automatically and fixes many of them.
Whether your data processing as a whole is lawful also depends on what happens
in your business away from the website.

= Why is Google Fonts such a big topic in Germany? =

Because in 2022 a regional court in Munich ordered a site owner to pay damages
simply because the site loaded fonts from Google's servers and transmitted a
visitor's IP address in the process. Since then German law firms have been
sending out warning letters to small businesses in bulk. It is the most common
and most expensive problem on German small business websites.

= My site looks different since I turned Google Fonts off. =

That is expected: without the font file the browser falls back to a substitute.
Two ways out - either upload the fonts yourself and reference them locally, or
wait for the planned add-on, which is meant to download and serve them
for you (see above - it is not available yet).

= Do I need a cookie banner plugin as well? =

Only if you really use tracking. The scan tells you. For most small company
websites the answer is no.

= Does the generator replace a lawyer? =

No. It produces solid texts for the usual cases of small businesses and saves
you a lot of time and money. In complicated cases - health professions,
financial services, online shops selling abroad - have a specialist lawyer
review the result.

= Is there an English interface? =

Not yet. The interface is German because the plugin is built specifically around
German law and its users are German site owners. A translation template is
included, so translations through translate.wordpress.org are welcome. The
generated legal texts will stay German only; they would be worthless in any
other jurisdiction.

= Does the plugin slow my website down? =

No. On the front end only the two-click blocker runs, and it is a few kilobytes.
The scan itself runs in the admin area, and only when you start it. On balance
the site tends to get slightly faster, because external connections disappear.

== Screenshots ==

1. The scan: score and all findings at a glance, sorted by urgency. Every finding is explained, with its legal basis and, where possible, a button to fix it.
2. Settings for external content: here you decide which services are only loaded after a click.
3. How it looks on the website: instead of the video, a placeholder explaining what happens on click.
4. The imprint generator also knows about chamber of crafts membership and the German small business rule.
5. The privacy policy is assembled from the services that were actually found.

== Changelog ==

= 0.1.2 =
* Corrected the plugin home page: it is https://wienstechnology.com/dsgvo-lotse, the author's own site. The previously listed address was never registered by the author.
* The planned paid add-on is now described as planned and not yet available, in the readme and in the admin notice.
* Replaced the coloured "Pro" link in the plugin list with a plain link to the project page.

= 0.1.1 =
* The audit log is now a regular part of the free plugin, under its own "Protokoll" menu entry.
* Removed the licence field and the Pro settings page from this build entirely; the paid add-on is a separate plugin.
* Removed privacy policy modules that were only listed, never generated.
* Documented that the plugin contacts no third-party service.

= 0.1.0 =
* First release: scan with 15 checks, one-click fixes, two-click blocker, imprint and privacy policy generator.

== Upgrade Notice ==

= 0.1.0 =
First release.
