From b96d55dc864e086d26e88524fed4480017820a11 Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 23 Nov 2023 22:18:53 +0300 Subject: [PATCH] add privacy-friendly stat tool Matomo to pages --- about/index.php | 18 +++++++++++++++- after-yks/index.php | 18 +++++++++++++++- bagis/index.php | 18 +++++++++++++++- dev/index.php | 18 +++++++++++++++- dev/playground/index.php | 18 +++++++++++++++- iflpanel/index.php | 18 +++++++++++++++- iflpanel/ssavpn/index.php | 18 +++++++++++++++- iflpanel/ssavpn/kurulum/index.php | 18 +++++++++++++++- iflpanel/ssavpn/odeme/index.php | 18 +++++++++++++++- iflpanel/ssavpn/privacy.html | 18 +++++++++++++++- iflpanel/ssavpn/tos.html | 18 +++++++++++++++- iflpanel/tahta/assets/css/main.css | 4 ++-- iflpanel/tahta/assets/css/not_scss.css | 10 +++++++++ iflpanel/tahta/assets/images/bagis-qr.png | Bin 0 -> 553 bytes iflpanel/tahta/assets/js/old_stopwatch.js | 21 ++++++++++++++++-- iflpanel/tahta/assets/scss/main.scss | 4 ++-- iflpanel/tahta/dev.html | 18 +++++++++++++++- iflpanel/tahta/index.html | 25 +++++++++++++++++++--- index.php | 18 +++++++++++++++- link/index.php | 18 +++++++++++++++- now/index.php | 18 +++++++++++++++- 21 files changed, 310 insertions(+), 24 deletions(-) create mode 100644 iflpanel/tahta/assets/css/not_scss.css create mode 100644 iflpanel/tahta/assets/images/bagis-qr.png diff --git a/about/index.php b/about/index.php index 726ef4d..32a7818 100644 --- a/about/index.php +++ b/about/index.php @@ -34,7 +34,23 @@ if (!$_SERVER['DOCUMENT_ROOT']) { } } ?> - About Me | Aliberk Sandıkçı + + + + +About Me | Aliberk Sandıkçı diff --git a/after-yks/index.php b/after-yks/index.php index c6869c5..4534b29 100644 --- a/after-yks/index.php +++ b/after-yks/index.php @@ -34,7 +34,23 @@ if (!$_SERVER['DOCUMENT_ROOT']) { } } ?> - After YKS | Aliberk Sandıkçı + + + + +After YKS | Aliberk Sandıkçı diff --git a/bagis/index.php b/bagis/index.php index 16278d6..e36fca2 100644 --- a/bagis/index.php +++ b/bagis/index.php @@ -29,7 +29,23 @@ if (!$_SERVER['DOCUMENT_ROOT']) { - + <!-- Matomo --> +<script> + var _paq = window._paq = window._paq || []; + /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="//stats.aliberksandikci.com.tr/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '3']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); + })(); +</script> +<!-- End Matomo Code --> + +<title> Bi' Kahve Ismarla | Aliberk Sandıkçı diff --git a/dev/index.php b/dev/index.php index cbf333e..2e0f922 100644 --- a/dev/index.php +++ b/dev/index.php @@ -35,7 +35,23 @@ body{ } } ?> - DEVELOPMENT PAGE + + + + +DEVELOPMENT PAGE diff --git a/dev/playground/index.php b/dev/playground/index.php index 7460453..7bfa0e6 100644 --- a/dev/playground/index.php +++ b/dev/playground/index.php @@ -28,7 +28,23 @@ if (!$_SERVER['DOCUMENT_ROOT']) { echo '' . PHP_EOL . ' '; } } ?> - DEV PLAYGROUND + + + + +DEV PLAYGROUND