From e3e3a17941a0fcde3fb75cfd7766b2554a0523cb Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 16 May 2018 18:05:46 +0300 Subject: [PATCH] Update notes for 2018-05-16 --- content/posts/2018-05.md | 13 +++++++++++++ docs/2018-05/index.html | 20 +++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/content/posts/2018-05.md b/content/posts/2018-05.md index bb0fad6fc..6a866af4a 100644 --- a/content/posts/2018-05.md +++ b/content/posts/2018-05.md @@ -259,3 +259,16 @@ $ curl -X POST -H 'Content-type:application/json' --data-binary '{"add-field": { - We use Google Analytics to track website usage, which makes Google the "Data Processor" and in this case we merely need to *limit* or *obfuscate* the information we send to them - As the only personally identifiable information we send is the user's IP address, I think we only need to enable [IP Address Anonymization](https://support.google.com/analytics/answer/2763052) in our `analytics.js` code snippets - Then we can add a "Privacy" page to CGSpace that makes all of this clear +- Silvia asked if I could sort the records in her Listings and Report output and it turns out that the options are misconfigured in `dspace/config/modules/atmire-listings-and-reports.cfg` +- I created and merged a pull request to fix the sorting issue in Listings and Reports ([#374](https://github.com/ilri/DSpace/pull/374)) +- Regarding the IP Address Anonymization for GDPR, I ammended the Google Analytics snippet in `page-structure-alterations.xsl` to: + +``` +ga('send', 'pageview', { + 'anonymizeIp': true +}); +``` + +- I tested loading a certain page before and after adding this and afterwards I saw that the parameter `aip=1` was being sent with the analytics response to Google +- According to the [analytics.js protocol parameter documentation](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#anonymizeIp) this means that IPs are being anonymized +- After finding and fixing some duplicates in IITA's `IITA_April_27` test collection on DSpace Test (10568/92703) I told Sisay that he can move them to IITA's Journal Articles collection on CGSpace diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 25f435bd7..c0ea0c081 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -27,7 +27,7 @@ Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked - + @@ -65,9 +65,9 @@ Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked "@type": "BlogPosting", "headline": "May, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-05/", - "wordCount": "1945", + "wordCount": "2081", "datePublished": "2018-05-01T16:43:54+03:00", - "dateModified": "2018-05-15T18:16:33+03:00", + "dateModified": "2018-05-16T14:17:54+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -439,6 +439,20 @@ $ curl -X POST -H 'Content-type:application/json' --data-binary '{"add-fiel
  • As the only personally identifiable information we send is the user’s IP address, I think we only need to enable IP Address Anonymization in our analytics.js code snippets
  • Then we can add a “Privacy” page to CGSpace that makes all of this clear
  • +
  • Silvia asked if I could sort the records in her Listings and Report output and it turns out that the options are misconfigured in dspace/config/modules/atmire-listings-and-reports.cfg
  • +
  • I created and merged a pull request to fix the sorting issue in Listings and Reports (#374)
  • +
  • Regarding the IP Address Anonymization for GDPR, I ammended the Google Analytics snippet in page-structure-alterations.xsl to:
  • + + +
    ga('send', 'pageview', {
    +  'anonymizeIp': true
    +});
    +
    + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 7d9270fd3..71e479a4e 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-05/ - 2018-05-15T18:16:33+03:00 + 2018-05-16T14:17:54+03:00 @@ -164,7 +164,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-05-15T18:16:33+03:00 + 2018-05-16T14:17:54+03:00 0 @@ -175,7 +175,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-05-15T18:16:33+03:00 + 2018-05-16T14:17:54+03:00 0 @@ -187,13 +187,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-05-15T18:16:33+03:00 + 2018-05-16T14:17:54+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-05-15T18:16:33+03:00 + 2018-05-16T14:17:54+03:00 0