=== Trustlytics Analytics ===
Contributors: trustlytics
Tags: analytics, tracking, privacy, statistics, web analytics
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your Trustlytics tracking code to WordPress without editing theme files. No cookies, no consent banner, no personal data.

== Description ==

Trustlytics lets you add the Trustlytics tracking script to your
WordPress site without touching your theme's template files.

Fully translatable into any language via translate.wordpress.org.

Paste the tracking snippet you copied from your Trustlytics account once, and the
plugin automatically outputs the script in the `<head>` of every page generated
by WordPress.

= How it works =

1. Install and activate the plugin.
2. Open the **Trustlytics** menu in your WordPress admin.
3. Paste the full Trustlytics tracking code, e.g.
   `<script defer data-domain="your-domain.ch" src="https://app.trustlytics.ch/tl.js"></script>`
4. The plugin extracts your domain automatically and starts tracking on all
   front-end pages.

= Privacy =

This plugin does not send any data to Trustlytics itself (no phone-home). It only
outputs the tracking script on your pages. Only your visit counts are collected —
no accounts, passwords or personal data. The tracking script's own data handling
is governed by Trustlytics.

This plugin loads the tracking script from a third-party service:

* Service: Trustlytics (a service by Kuvvu GmbH)
* Script URL: https://app.trustlytics.ch/tl.js
* Provider website: https://trustlytics.ch/
* Privacy Policy: https://www.trustlytics.ch/en/privacy-policy.html

== Installation ==

1. Upload the `trustlytics-analytics` folder to `/wp-content/plugins/`, or install
   the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to **Trustlytics** in the admin menu.
4. Paste your Trustlytics tracking code and click **Save changes**.

== Frequently Asked Questions ==

= Where do I get my tracking code? =

Copy it from your Trustlytics account under the tracking code section.

= Do I need to enter my domain separately? =

No. Paste the full snippet and the plugin reads the domain from `data-domain`
automatically. You can also paste just the bare domain if you prefer.

= Does it work with any theme? =

Yes. It uses the standard WordPress `wp_head` hook, which virtually every theme
calls.

= What happens when I delete the plugin? =

The stored domain option is removed automatically.

== Screenshots ==

1. The Trustlytics settings page where you paste your tracking code.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
