chefcookie 2.6.9 → 2.7.0
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 +8 -1
- package/README.md +9 -0
- package/_build/script.js +6 -1
- package/chefcookie.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,14 @@ 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.6.
|
|
7
|
+
#### [2.6.9](https://github.com/vielhuber/chefcookie/compare/2.6.9...2.6.9)
|
|
8
|
+
|
|
9
|
+
#### [2.6.9](https://github.com/vielhuber/chefcookie/compare/2.6.8...2.6.9)
|
|
10
|
+
|
|
11
|
+
> 23 July 2022
|
|
12
|
+
|
|
13
|
+
- Improve support for i dont care about cookies. [`88242de`](https://github.com/vielhuber/chefcookie/commit/88242de988c9d89ff494fcc7790bfb6dc5724613)
|
|
14
|
+
- Update changelog. [`b17b940`](https://github.com/vielhuber/chefcookie/commit/b17b9404599bf881fc534d7d91d938c537f44f01)
|
|
8
15
|
|
|
9
16
|
#### [2.6.8](https://github.com/vielhuber/chefcookie/compare/2.6.7...2.6.8)
|
|
10
17
|
|
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
|
@@ -1087,7 +1087,12 @@ var chefcookie = /*#__PURE__*/function () {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
1089
|
if (provider === 'etracker') {
|
|
1090
|
-
var _script10
|
|
1090
|
+
var _script10;
|
|
1091
|
+
|
|
1092
|
+
_script10 = document.createElement('script');
|
|
1093
|
+
_script10.innerHTML = "if(window._etr === undefined) { window._etr = {eoBlocked:true}; }";
|
|
1094
|
+
document.head.appendChild(_script10);
|
|
1095
|
+
_script10 = document.createElement('script');
|
|
1091
1096
|
|
|
1092
1097
|
_script10.onload = function () {
|
|
1093
1098
|
_this14.setLoaded(provider);
|