chefcookie 2.6.9 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/README.md +9 -0
- package/_build/script.js +10 -1
- package/chefcookie.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,28 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [2.
|
|
7
|
+
#### [2.7.1](https://github.com/vielhuber/chefcookie/compare/2.7.1...2.7.1)
|
|
8
|
+
|
|
9
|
+
#### [2.7.1](https://github.com/vielhuber/chefcookie/compare/2.7.0...2.7.1)
|
|
10
|
+
|
|
11
|
+
> 4 September 2022
|
|
12
|
+
|
|
13
|
+
- Support headless chrome. [`5cc1169`](https://github.com/vielhuber/chefcookie/commit/5cc1169f15115073ed39ec365eda0bdf420d8d5e)
|
|
14
|
+
- Update changelog. [`e59a033`](https://github.com/vielhuber/chefcookie/commit/e59a033ebe2f3be2bc98da6524ac84e89b9e51bd)
|
|
15
|
+
|
|
16
|
+
#### [2.7.0](https://github.com/vielhuber/chefcookie/compare/2.6.9...2.7.0)
|
|
17
|
+
|
|
18
|
+
> 31 August 2022
|
|
19
|
+
|
|
20
|
+
- Improve etracker embed. [`eb71480`](https://github.com/vielhuber/chefcookie/commit/eb71480184de4ec93ef37d968619f9decdaab483)
|
|
21
|
+
- Update changelog. [`f8dce43`](https://github.com/vielhuber/chefcookie/commit/f8dce43aa5d5da729b378b56ac5111fccb2a53e2)
|
|
22
|
+
|
|
23
|
+
#### [2.6.9](https://github.com/vielhuber/chefcookie/compare/2.6.8...2.6.9)
|
|
24
|
+
|
|
25
|
+
> 23 July 2022
|
|
26
|
+
|
|
27
|
+
- Improve support for i dont care about cookies. [`88242de`](https://github.com/vielhuber/chefcookie/commit/88242de988c9d89ff494fcc7790bfb6dc5724613)
|
|
28
|
+
- Update changelog. [`b17b940`](https://github.com/vielhuber/chefcookie/commit/b17b9404599bf881fc534d7d91d938c537f44f01)
|
|
8
29
|
|
|
9
30
|
#### [2.6.8](https://github.com/vielhuber/chefcookie/compare/2.6.7...2.6.8)
|
|
10
31
|
|
package/README.md
CHANGED
|
@@ -479,6 +479,15 @@ the `action`-key can have the following values:
|
|
|
479
479
|
|
|
480
480
|
here it makes sense to temporarily store this data in a database and evaluate it – for example, to measure the discrepancy between the real visitor numbers and the numbers in google analytics or to optimize the appearance of the consent manager (e.g. using the `layout`-option).
|
|
481
481
|
|
|
482
|
+
#### etracker optimizer
|
|
483
|
+
|
|
484
|
+
by default the etracker optimizer is disabled, since it creates a nasty fouc. you can enable it via:
|
|
485
|
+
|
|
486
|
+
```js
|
|
487
|
+
window._etr = { eoBlocked: false };
|
|
488
|
+
cc.load('etracker', 'xxxxxx');
|
|
489
|
+
```
|
|
490
|
+
|
|
482
491
|
#### event tracking
|
|
483
492
|
|
|
484
493
|
chefcookie additionally comes with event tracking for all major analytics platforms.\
|
package/_build/script.js
CHANGED
|
@@ -86,6 +86,10 @@ var chefcookie = /*#__PURE__*/function () {
|
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
if (document.head === null || typeof document.head.insertAdjacentHTML === 'undefined') {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
|
|
89
93
|
if (this.isExcluded()) {
|
|
90
94
|
this.bindOptOutOptIn();
|
|
91
95
|
this.updateOptOutOptIn();
|
|
@@ -1087,7 +1091,12 @@ var chefcookie = /*#__PURE__*/function () {
|
|
|
1087
1091
|
}
|
|
1088
1092
|
|
|
1089
1093
|
if (provider === 'etracker') {
|
|
1090
|
-
var _script10
|
|
1094
|
+
var _script10;
|
|
1095
|
+
|
|
1096
|
+
_script10 = document.createElement('script');
|
|
1097
|
+
_script10.innerHTML = "if(window._etr === undefined) { window._etr = {eoBlocked:true}; }";
|
|
1098
|
+
document.head.appendChild(_script10);
|
|
1099
|
+
_script10 = document.createElement('script');
|
|
1091
1100
|
|
|
1092
1101
|
_script10.onload = function () {
|
|
1093
1102
|
_this14.setLoaded(provider);
|