D Analytics - third-party notices
=================================

D Analytics is licensed under the GNU General Public License, version 3 or (at your option) any later
version (see LICENSE). It contains or downloads the following third-party work.


Koko Analytics (GPL-3.0-or-later)
---------------------------------
D Analytics is a rewrite of Koko Analytics, adapted from it and inspired by it, and released under the same
licence (GPL-3.0-or-later). Koko Analytics is copyright Danny van Kooten (ibericode).
https://github.com/ibericode/koko-analytics  https://www.kokoanalytics.com

The design (daily-hash uniqueness, buffered ingestion, aggregate tables) follows Koko Analytics; the code base is
new. Some material is taken from it more directly: the referrer blocklist and the referrer aggregation rules.
The attribution to Koko Analytics is kept in the files that carry it: the plugin header (d-analytics.php),
readme.txt, data/referrer-blocklist, data/referrer-blocklist.php, data/referrer-aggregations.php and
src/Blocklist/Referrer_Blocklist.php. The other source files are original to D Analytics and carry no
Koko Analytics notice. D Analytics carries no endorsement by the Koko Analytics authors.


MaxMind DB Reader for PHP (Apache-2.0)
--------------------------------------
Package maxmind-db/reader, copyright MaxMind, Inc.
https://github.com/maxmind/MaxMind-DB-Reader-php

Bundled in vendor-prefixed/maxmind-db/reader. The namespace is rewritten to DAnalytics\Vendor by Strauss
(https://github.com/BrianHenryIE/strauss) and nothing else is changed. The licence text is in
vendor-prefixed/maxmind-db/reader/LICENSE and applies to that folder. The MMDB reader reads the country
database on the site's own server.


Country databases (downloaded, not bundled)
-------------------------------------------
DB-IP Lite country database, by DB-IP.com, licensed under Creative Commons Attribution 4.0 International
(CC BY 4.0, https://creativecommons.org/licenses/by/4.0/). Attribution: "IP Geolocation by DB-IP",
https://db-ip.com. The dashboard shows this attribution under the Countries card. The file is downloaded
by the site from download.db-ip.com when the DB-IP source is selected.

MaxMind GeoLite2 Country, by MaxMind, Inc., optional and downloaded with the site owner's own account under
the GeoLite end user licence agreement (https://www.maxmind.com/en/geolite2/eula).

Neither database is part of the plugin package.


Country names (Unicode CLDR)
----------------------------
data/country-names.php is derived from Unicode CLDR (cldr-json), Unicode License v3,
Copyright (c) Unicode, Inc. https://www.unicode.org/license.txt
A few Vietnamese names were corrected by hand.
