Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds Matomo anonymous cookie-free tracking + privacy policy page #419

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
- [UX - User Experience](/technology/user_experience.md)
- [Datasets](/technology/datasets.md)
- [Contributing to this Guide](/CONTRIBUTING.md)
- [Privacy](/privacy.md)
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@
/>
<link rel="stylesheet" href="/styles.css" />
<link rel="icon" type="image/png" href="images/favicon.png" />
<!-- Matomo -->
<script>
var _paq = (window._paq = window._paq || []);
_paq.push(["disableCookies"]); // Call disableCookies before calling trackPageView
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function () {
var u = "//matomo.research.software/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "5"]);
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 -->
</head>

<body>
Expand Down
9 changes: 9 additions & 0 deletions privacy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Privacy policy

We collect anonymised user data that helps us to monitor the effectiveness of our website.
No personally identifiable information is recorded and no cookies containing such information are set in your browser session.

<!-- The commented out section below doesn't seem to work in Docsify... -->
<!-- ## Analytics opt-out
<div id="matomo-opt-out"></div>
<script src="https://matomo.research.software/index.php?module=CoreAdminHome&action=optOutJS&divId=matomo-opt-out&language=auto&showIntro=1"></script> -->
Loading