DNT applies to .com

remove-default-role
David Fischer 2018-05-22 11:39:02 -07:00
parent c642625392
commit fd3a8863c9
No known key found for this signature in database
GPG Key ID: F0C9B0ADA737AB60
2 changed files with 2 additions and 2 deletions

View File

@ -236,10 +236,9 @@ For Read the Docs, this means:
and user agent strings are deleted after 10 days unless a DNT exception applies.
* Our full DNT policy is `available here`_.
Our DNT policy applies without reservation to readthedocs.org.
Our DNT policy applies without reservation to readthedocs.org and readthedocs.com.
A best effort is made to apply this to Documentation Sites,
but we do not have complete control over the contents of these sites.
At this time, DNT **does not apply** to our commercial hosting solution on readthedocs.com.
For more details about DNT, visit `All About Do Not Track`_.

View File

@ -125,6 +125,7 @@ def do_not_track(request):
'policy': 'https://docs.readthedocs.io/en/latest/privacy-policy.html',
'same-party': [
'readthedocs.org',
'readthedocs.com',
'readthedocs.io',
],
'tracking': 'N' if dnt_header == '1' else 'T',