From c2f4724b1120b681fa7efc0d625d77bb4e5e3942 Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Wed, 22 Apr 2020 13:18:25 -0400 Subject: [PATCH] Add Do Not Track support --- README.md | 5 ++--- shynet/a17t/templates/a17t/includes/field.html | 2 +- shynet/analytics/tasks.py | 5 ++++- shynet/analytics/views/ingress.py | 4 +++- .../migrations/0003_service_respect_dnt.py | 18 ++++++++++++++++++ shynet/core/models.py | 5 ++++- shynet/dashboard/forms.py | 5 ++++- 7 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 shynet/core/migrations/0003_service_respect_dnt.py diff --git a/README.md b/README.md index 94abb0c..89659af 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,9 @@ SERVER_EMAIL="Shynet " ## FAQ -**Does Shynet respond to Do Not Track (DNT) signals?** It's on the [roadmap](#roadmap). While there isn't any standardized way to handle DNT requests, the plan is to give services the option of ignoring DNT signals entirely, limiting collected data (i.e. not collecting any visitor-related details such as browser, IP, etc.), or excluding DNT requests from analytics entirely. +**Does Shynet respond to Do Not Track (DNT) signals?** Yes. While there isn't any standardized way to handle DNT requests, Shynet allows you to specify whether you want to collect any data from users with DNT enabled on a per-service basis. (By default, Shynet will _not_ collect any data from users who specify DNT.) -**Is this GDPR compliant?** I think so, but it also depends on how you use it. If you're worried about GDPR, you should talk to a lawyer about your particular data collection practices. I am not a lawyer. +**Is this GDPR compliant?** I think so, but it also depends on how you use it. If you're worried about GDPR, you should talk to a lawyer about your particular data collection practices. I'm not a lawyer. (And this isn't legal advice.) ## Roadmap @@ -145,7 +145,6 @@ The following features are planned: * **Better collaboration interface** (the current interface is... a draft) * **Data deletion tool** (easily prune user data by specifying an ID or IP) * **Differential privacy** (explore and share your data without revealing any personal information) -* **Do Not Track support** (change tracking behavior in response to DNT signals) ## In the Wild diff --git a/shynet/a17t/templates/a17t/includes/field.html b/shynet/a17t/templates/a17t/includes/field.html index 09b1604..e7cb40b 100644 --- a/shynet/a17t/templates/a17t/includes/field.html +++ b/shynet/a17t/templates/a17t/includes/field.html @@ -18,7 +18,7 @@ {% endfor %} {% elif field|is_radio %} {% if field.auto_id %} - + {% endif %} {% for choice in field %}