diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-24 13:50:53 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-24 13:50:53 +0100 |
| commit | ca734febb23133e2b405cdc69e58d9cf6011298f (patch) | |
| tree | d421b89fc268b3da5c4dd2b8098a34c4466ee209 /public/inc/tracker.php | |
| parent | e10f46c20226609198ac2a1cceab056e87e4d847 (diff) | |
| parent | 204a0c7b9665e3f85b3839a3007c1063bd436e77 (diff) | |
feat: replace Matomo with Ackee
I cannot test locally because of CORS policy.
Diffstat (limited to 'public/inc/tracker.php')
| -rw-r--r-- | public/inc/tracker.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/public/inc/tracker.php b/public/inc/tracker.php deleted file mode 100644 index b78cef7..0000000 --- a/public/inc/tracker.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * Matomo tracking code. - * php version 7.4 - * - * @category Controller - * @package DAP - * @author Armand Philippot <contact@armandphilippot.com> - * @copyright 2022 Armand Philippot - * @license MIT <https://opensource.org/licenses/MIT> - * @link https://demo.armandphilippot.com/ - */ -?> -<!-- Matomo --> -<script> - var _paq = window._paq = window._paq || []; - _paq.push(["setDoNotTrack", true]); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - (function() { - var u = "//demo.armandphilippot.com/"; - _paq.push(["setTrackerUrl", u + "matomo/matomo.php"]); - _paq.push(["setSiteId", "3"]); - var d = document, - g = d.createElement("script"), - s = d.getElementsByTagName("script")[0]; - g.type = "text/javascript"; - g.async = true; - g.defer = true; - g.src = u + "matomo/matomo.php"; - s.parentNode.insertBefore(g, s); - })(); -</script> -<!-- End Matomo Code --> |
