From 25728ac04f123f473c7ae957fae3cc8ebd0b7be2 Mon Sep 17 00:00:00 2001 From: Matthias Isler Date: Mon, 23 Jul 2018 15:52:28 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 755524b..70282b4 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,7 @@ accessing the data. - This script is based on the deprecated `ga.js`, it is very likely that some day it will stop working. Nevertheless, it will probably work for some more years since many websites are still actively using old GA versions. - While I am not a lawyer myself, I suspect that using this script does violate most of Google's TOC as well as most -countries' data protection laws. I would strongly recommend to inform your users about your tracking activities and -perform a risk assessment. +countries' data protection laws. **Use at your own risk.** If you are looking for a "compliant" solution, have a look at [this](https://github.com/dm-guy/utm-alternative/) library, it replicates the tracking functionality of Google Analytics. @@ -53,4 +52,4 @@ Adds a hidden input to the specified form containing a JSON string with parsed i # License -GA Legacy Cookie Parser is free software distributed under the terms of the MIT license. \ No newline at end of file +GA Legacy Cookie Parser is free software distributed under the terms of the MIT license. From 0e6af2adb8f5f7badec6498b47a716a6221843d9 Mon Sep 17 00:00:00 2001 From: Matthias Isler Date: Mon, 23 Jul 2018 15:59:01 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70282b4..6c993d6 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ library, it replicates the tracking functionality of Google Analytics. * `new GAParser([domains], limitRelevant = true)` Returns a new instance. +`domains` must be an array of all domains you want to include in tracking. # Methods @@ -40,10 +41,10 @@ Adds a hidden input to the specified form containing a JSON string with parsed i # Usage ``` - + +