=== FixGDPR — GDPR Compliance & Consent Banner ===
Contributors: fullmarketingpower
Tags: gdpr, cookie consent, privacy, cookie banner, compliance
Requires at least: 5.6
Tested up to: 6.9
Stable tag: 1.0.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free GDPR compliance scanner with consent banner, cookie auto-blocking, and privacy policy generator. Powered by FixGDPR.

== Description ==

FixGDPR is the easiest way to make your WordPress site GDPR compliant. Simply install the plugin, connect your site with a free FixGDPR account, and you're done.

FixGDPR automatically scans your site for cookies and trackers, displays a fully customizable consent banner, and blocks scripts until visitors give consent — no coding required.

= Features =

* **Consent Banner** — Lightweight, accessible, and fully customizable cookie consent banner that works out of the box.
* **Cookie Auto-Blocking** — Automatically detects and blocks cookies and third-party trackers until the visitor provides consent.
* **Google Consent Mode v2** — Built-in support for Google Consent Mode v2, ensuring your Google Analytics and Google Ads tags respect user consent choices.
* **Compliance Scanner** — Scans your site for GDPR compliance issues and provides actionable recommendations.
* **Privacy Policy Generator** — Generate a GDPR-compliant privacy policy tailored to your site.
* **Lightweight** — The banner script is under 20KB gzipped and loads asynchronously, so it won't slow down your site.
* **Accessible** — Fully keyboard navigable and screen reader friendly, meeting WCAG 2.1 AA standards.
* **Multi-language** — Automatically detects your visitor's language and displays the banner in their preferred language.

= How It Works =

1. Install and activate the FixGDPR plugin.
2. Sign up for a free account at [fixgdpr.com](https://fixgdpr.com).
3. Copy your Site ID from the FixGDPR dashboard.
4. Paste the Site ID into the plugin settings and enable the banner.
5. The consent banner is now active on your site.

== External services ==

When enabled, this plugin loads the consent banner script from https://fixgdpr.com on each public page view. A free FixGDPR account and a Site ID are required.

**When the request happens:** The banner script is loaded from `https://fixgdpr.com/banner/<your-site-id>.js` only if BOTH of the following are true:

1. You have entered a Site ID under **Settings &rarr; FixGDPR**, AND
2. You have ticked **Enable Consent Banner** on the same page.

If either condition is not met, the plugin makes no external request. Administrator pages (wp-admin) never trigger it.

**What is sent:** Your Site ID is sent to FixGDPR so the correct banner configuration can be returned. Standard HTTP request headers accompany the request. When a visitor interacts with the banner, their consent choice is stored in a first-party cookie on your domain and transmitted to FixGDPR for compliance logging.

**How to disable:** Untick **Enable Consent Banner** in **Settings &rarr; FixGDPR**, or uninstall the plugin. Either action stops the external request.

**Service terms:**

* Provider: FixGDPR (https://fixgdpr.com)
* Terms of Service: https://fixgdpr.com/terms
* Privacy Policy: https://fixgdpr.com/privacy

== Installation ==

1. Upload the `fixgdpr` folder to the `/wp-content/plugins/` directory, or install directly through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **Settings > FixGDPR** to configure the plugin.
4. Enter your Site ID from your [FixGDPR dashboard](https://fixgdpr.com/dashboard).
5. Check **Enable Consent Banner** and click **Save Settings**.

== Frequently Asked Questions ==

= Do I need a FixGDPR account? =

Yes. You need a free FixGDPR account to get a Site ID, which connects the consent banner to your site's compliance configuration. Sign up at [fixgdpr.com](https://fixgdpr.com).

= Is FixGDPR free? =

The plugin itself is free and fully functional. It connects to the FixGDPR service, which offers a free tier (1 site, 5,000 pageviews/month) and paid tiers for higher usage and additional features like scheduled scans and AI-powered fix instructions. See [fixgdpr.com/pricing](https://fixgdpr.com/pricing) for details.

= Does this plugin slow down my site? =

No. The consent banner script is under 20KB gzipped and loads asynchronously in the background. It will not affect your page load times or Core Web Vitals scores.

= Does FixGDPR support Google Consent Mode v2? =

Yes. FixGDPR has built-in support for Google Consent Mode v2. When a visitor interacts with the consent banner, the appropriate consent signals are automatically sent to Google tags.

= What happens when I deactivate the plugin? =

Deactivating the plugin stops the consent banner from appearing on your site but preserves your settings. If you uninstall (delete) the plugin, all settings are removed from the database.

== Screenshots ==

1. Free instant compliance scan on the FixGDPR homepage — no account required.
2. Your site's compliance score with estimated fine risk based on recent GDPR enforcement actions.
3. Dark-pattern detection — flags cookie banners that use visual manipulation (for example an undersized Reject button) to invalidate consent.
4. Prioritized list of issues found, with severity ratings and actionable fix instructions.

== Changelog ==

= 1.0.3 =
* Added Italian (it_IT) translation.
* Added `Domain Path: /languages` header and `load_plugin_textdomain()` hook so bundled translations load reliably.

= 1.0.2 =
* Banner script is now registered via `wp_enqueue_script()` and `script_loader_tag` filter instead of direct echo, matching WordPress.org Plugin Check requirements.

= 1.0.1 =
* Expanded external-services disclosure in readme for clarity about when and what data is transmitted to the FixGDPR service.

= 1.0.0 =
* Initial release.
* Consent banner injection via Site ID.
* Admin settings page with Site ID configuration and banner toggle.
* Compliance status indicator in admin.
