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

Add Google Analytics & update privacy policy #280

Merged
merged 7 commits into from
Nov 12, 2020
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
5 changes: 0 additions & 5 deletions docs/_templates/footer.html

This file was deleted.

25 changes: 10 additions & 15 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{% extends "!layout.html" %}
{% block footer %}
<script async defer src="https://hypothes.is/embed.js"></script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//mon.opendataservices.coop/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '14']);
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+'piwik.js'; s.parentNode.insertBefore(g,s);
})();

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-158633237-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-158633237-1', { anonymize_ip: true, client_storage: 'none' });
</script>
<!-- End Piwik Code -->
<!-- Google Analytics -->
{% endblock %}
79 changes: 2 additions & 77 deletions docs/about/privacy-notice.rst
Original file line number Diff line number Diff line change
@@ -1,80 +1,5 @@
Privacy Notice
--------------

ReadTheDocs provide the platform these docs are hosted on, for
information about how they collect and process personal data, `see their
Privacy
Policy <https://docs.readthedocs.io/en/latest/privacy-policy.html>`__.

OpenOwnership is committed to ensuring that your privacy is protected.
This privacy notice sets out how we collect and process any personal
data when you use this website.

We may change this notice from time to time by updating this page. This
notice is effective from 24th May 2018.

You can contact us at OpenOwnership (as the data controller) if would
like a copy of the information held on you or if you believe that any
information we are holding on you is incorrect or incomplete.

You have the following rights concerning this data:

- Right to be informed, which is the purpose of this privacy notice.
- Right to Access, Rectification, Erasure, and to Restrict Processing.
Note that the right to Erasure and Restrict Processing are balanced
against our legitimate interests. Where relevant, you need to provide
information to re-identify yourself from our pseudonymised data, see
`GDPR Article 11 <https://gdpr-info.eu/art-11-gdpr/>`__.
- Right to object to our processing.

Our supervisory authority is the `ICO in the
UK <https://ico.org.uk/>`__. You have the right to lodge a complaint
with them.

We process personal data for the following purposes:

- Understanding website visitor and traffic patterns

We rely on `legitimate
interests <https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/lawful-basis-for-processing/legitimate-interests/>`__
(`GDPR Article 6(1)(f) <https://gdpr-info.eu/art-6-gdpr/>`__) as the
lawful basis for this processing. Details about the type of data, the
purpose of the processing and legitimate interests, and the storage and
retention of the data are set out below.

Understanding website visitor and traffic patterns
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We collect data about your visits to the website, for the purpose of
analysing how the website is used, so that we can improve it. A self
hosted copy of `Matomo <http://matomo.org>`__ is used for this.

Personal data we collect:

- Your IP address - this is pseudonymised by redacting the second half
of the address
- Referrer (what page you arrived at one of our web pages from)
- Information about your device, OS and browser

We do not use this data to personally identify individuals, but it is
possible that it could be used to do so, particularly if combined with
other datasets.

You can opt out of this processing: if you have set your web browser to
"I do not want to be tracked" (DoNotTrack is enabled) then Matomo will
not track your visit.

Matomo also has its own opt out mechanism:

.. raw:: html

<!-- opt out iframe - clicking this will mean people can opt out of tracking -->
<iframe style="border: 0; height: 200px; width: 600px;"
src="https://mon.opendataservices.coop/piwik/index.php?module=CoreAdminHome&action=optOut&language=en&backgroundColor=&fontColor=&fontSize=&fontFamily="
></iframe>

Data processors: Open Data Services Co-operative Limited, Bytemark.

The data controller (OpenOwnership) is based in the USA.

The data is kept indefinitely, in pseudonymised form.
Open Ownership's full privacy notice, covering all of our services can be found
`on our main website <https://openownership.org/privacy>`_.