Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit b715b9a

Browse files
authored
Remove Matomo (#2013)
1 parent 31e34f0 commit b715b9a

File tree

4 files changed

+2
-41
lines changed

4 files changed

+2
-41
lines changed

_includes/scripts.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,3 @@
33
<script src="/assets/js/bootstrap.min.js?v=4"></script>
44
<script src="/assets/js/sortable.min.js?v=4"></script>
55
<script src="/assets/js/main.js?v=5"></script>
6-
7-
<!--
8-
Matomo is the leading open-source analytics platform:
9-
- Free open-source software
10-
- 100% data ownership
11-
- User privacy protection
12-
-->
13-
14-
<noscript><img src="https://stats.privacytools.io/matomo.php?idsite=1&amp;rec=1" class="border-0" alt=""/></noscript>

assets/js/main.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,3 @@ if (
9494
) {
9595
fixThemeImages();
9696
}
97-
98-
99-
// Matomo
100-
var _paq = window._paq || [];
101-
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
102-
_paq.push(["trackPageView"]);
103-
_paq.push(["enableLinkTracking"]);
104-
(function() {
105-
var u = "https://stats.privacytools.io/";
106-
_paq.push(["setTrackerUrl", u + "matomo.php"]);
107-
_paq.push(["setSiteId", "1"]);
108-
_paq.push(['setSecureCookie', true]);
109-
var d = document,
110-
g = d.createElement("script"),
111-
s = d.getElementsByTagName("script")[0];
112-
g.type = "text/javascript";
113-
g.async = true;
114-
g.defer = true;
115-
g.src = u + "matomo.js";
116-
s.parentNode.insertBefore(g, s);
117-
})();

nginx/010-headers.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_header X-Frame-Options DENY always;
22
add_header X-XSS-Protection "1; mode=block" always;
33
add_header X-Content-Type-Options nosniff always;
4-
add_header Content-Security-Policy "default-src 'none'; script-src 'self' https://stats.privacytools.io; style-src 'self'; img-src 'self' data: https://*.privacytools.io; object-src 'none'; frame-src https://stats.privacytools.io; font-src 'self'; base-uri 'none'; form-action 'self' https://search.privacytools.io; frame-ancestors 'none'; manifest-src 'self';" always;
4+
add_header Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' data: https://*.privacytools.io; object-src 'none'; frame-src 'none'; font-src 'self'; base-uri 'none'; form-action 'self' https://search.privacytools.io; frame-ancestors 'none'; manifest-src 'self';" always;
55
add_header 'Access-Control-Allow-Origin' '*';
66
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload";
77
add_header Alt-Svc 'h2="privacy2zbidut4m4jyj3ksdqidzkw3uoip2vhvhbvwxbqux5xy5obyd.onion:443"; ma=86400; persist=1';

pages/privacy.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,18 @@ This data will be collected regardless of browser, device, or app used to access
2626
When you visit a {{ site.name }} website or service, regardless of whether you have an account or not, the website may use cookies, server logs, and other methods to collect the following data:
2727

2828
* What pages you visit,
29-
* What actions you take on our website,
30-
* What browser, operating system, and device you use,
31-
* Search terms you use,
3229
* Your anonymized IP address: We anonymize the last 3 bytes of your IP, e.g. 192.xxx.xxx.xxx.
3330

3431
We use this data to:
3532

3633
* Optimize websites and services, so that they are quick and easy to use,
3734
* Diagnose and debug technical errors,
38-
* Defend websites and services from abuse and technical attacks,
39-
* Compile statistics on the popularity of a website, page, post, topic, etc., and
40-
* Compile statistics on the kinds of software and computers visitors use.
35+
* Defend websites and services from abuse and technical attacks.
4136

4237
This data is processed under our [Legitimate Interest](https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/legitimate-interests/when-can-we-rely-on-legitimate-interests/) to provide our services to you in a an efficient and secure manner and to ensure the legal compliance and proper administration of our business.
4338

4439
Raw data such as pages visited, anonymized visitor IPs, and visitor actions will be retained for 60 days. In special circumstances—such as extended investigations regarding a technical attack—we may preserve logged data for longer periods for analysis. We store aggregate statistics about use of the websites and services we host indefinitely, but those statistics do not include data identifiable to you personally.
4540

46-
You can opt out of some website tracking we do with Matomo using the form below. Our Matomo instance is blocked by most ad-blockers, so users blocking the domain `stats.privacytools.io` will not need to separately opt-out with the form below. Our Matomo instance also respects the Do Not Track (DNT) setting in your browser, so users with DNT enabled will not need to complete this form. Limited data may still be collected via server-side logs after opting out here, but this data cannot be used to identify you.
47-
48-
<iframe style="border: 1; height: 120px; width: 100%;" src="https://stats.privacytools.io/index.php?module=CoreAdminHome&action=optOut&language=en&backgroundColor=ffffff&fontColor=212529&fontSize=1rem&fontFamily=-apple-system%2CBlinkMacSystemFont%2C%22Segoe%20UI%22%2CRoboto%2C%22Helvetica%20Neue%22%2CArial%2Csans-serif%2C%22Apple%20Color%20Emoji%22%2C%22Segoe%20UI%20Emoji%22%2C%22Segoe%20UI%20Symbol%22%2C%22Noto%20Color%20Emoji%22"></iframe>
49-
5041
### We collect account data.
5142

5243
On some websites and services we provide, many features may require an account. For example, on forum.privacytools.io an account is required to post and reply to topics.

0 commit comments

Comments
 (0)