=== AlpStats.ch — Cookieless Analytics ===
Contributors: pixelizedch
Tags: analytics, cookieless, privacy, statistics, gdpr
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Cookieless, privacy-first web analytics for your WordPress site with AlpStats.ch. Paste your site key — no cookie banner needed.

== Description ==

AlpStats.ch is a cookieless, privacy-first web analytics service hosted in Switzerland. This plugin adds the AlpStats.ch tracking snippet to your WordPress site automatically: you only enter your **site key**, no need to paste any `<script>` tag by hand (which also avoids being blocked by security plugins like Wordfence).

* No cookies, no consent banner to manage.
* Lightweight script, loaded asynchronously — it does not slow down your pages.
* GDPR and Swiss nFADP friendly; data hosted in Switzerland.
* Option to exclude logged-in administrators, so your own visits don't skew the stats.

You need an account and a site key on [AlpStats.ch](https://alpstats.ch). The plugin only injects the snippet; all statistics live in your AlpStats.ch dashboard.

== Installation ==

1. Install and activate the plugin.
2. Go to **Settings → AlpStats.ch**.
3. Paste your **site key** (from your AlpStats.ch dashboard: site settings → tracking snippet).
4. Tick **Enable tracking** and save.

That's it — the snippet is now added to every front-end page.

== Frequently Asked Questions ==

= Where do I find my site key? =
In your AlpStats.ch dashboard, open your site's settings: the tracking snippet contains a `data-site="..."` value — that value is your site key.

= Does this store any personal data on my site? =
No. The plugin only outputs the AlpStats.ch snippet with your site key. Analytics are cookieless and processed by AlpStats.ch.

= Will it track me while I'm logged in? =
You can enable "Exclude administrators" to keep logged-in administrators out of the statistics.

== Changelog ==

= 1.0.3 =
* Active installs are now counted accurately, using an anonymous random install ID (no URL, domain or IP) sent with update checks.

= 1.0.2 =
* Tested up to WordPress 7.0.

= 1.0.1 =
* The site key field now also accepts the full tracking snippet: the data-site value is extracted automatically.

= 1.0.0 =
* First release: automatic snippet injection with settings (site key, enable/disable, exclude administrators) and self-hosted automatic updates.
