From 850039a5ee0dd39bc3187d194c1d9433fed66024 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Tue, 10 Dec 2024 14:29:57 +0300 Subject: [PATCH] Add analytics (#1183) * Add analytics only for main website --- include/header.inc | 19 +++++++++++++++++++ privacy.php | 8 +++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/include/header.inc b/include/header.inc index 5e6ae335e..2f33d64c5 100644 --- a/include/header.inc +++ b/include/header.inc @@ -91,6 +91,25 @@ if (!isset($config["languages"])) { + + + + + diff --git a/privacy.php b/privacy.php index 7a912bb47..ce1b25f4e 100644 --- a/privacy.php +++ b/privacy.php @@ -31,9 +31,15 @@ site_header("Privacy Policy", ["current" => "footer"]);

Cookies

php.net uses cookies to keep track of user preferences. Unless - you login on the site, the cookies will not be used to store personal information and + you login on the site, the cookies will not be used to store personal information, and we do not give away the information from the cookies.

+

+ We also use self-hosted analytics service to improve popular sections of the documentation, + and never share user data with third parties. + You may deactivate or restrict the transmission of cookies by changing the settings of your web browser. + Cookies that are already stored may be deleted at any time. +