chefcookie 2.8.6 → 2.8.7

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 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.8.5](https://github.com/vielhuber/chefcookie/compare/2.8.5...2.8.5)
7
+ #### [2.8.6](https://github.com/vielhuber/chefcookie/compare/2.8.6...2.8.6)
8
+
9
+ #### [2.8.6](https://github.com/vielhuber/chefcookie/compare/2.8.5...2.8.6)
10
+
11
+ > 6 November 2023
12
+
13
+ - Add new option to open banner including settings. [`1fcc59f`](https://github.com/vielhuber/chefcookie/commit/1fcc59f342bb736366ef9a1905b6a4338729a975)
14
+ - Update changelog. [`10b816b`](https://github.com/vielhuber/chefcookie/commit/10b816b27816792cbcc4b430f9896abd4572e528)
8
15
 
9
16
  #### [2.8.5](https://github.com/vielhuber/chefcookie/compare/2.8.4...2.8.5)
10
17
 
package/README.md CHANGED
@@ -135,10 +135,10 @@ const cc = new chefcookie({
135
135
  cannot_be_modified: false,
136
136
  initial_tracking: false,
137
137
  scripts: {
138
- analytics: 'UA-xxxxxxxx-1',
138
+ analytics: 'G-xxxxxxxxxx',
139
139
  // extended syntax
140
140
  analytics: {
141
- id: 'UA-xxxxxxxx-1',
141
+ id: 'G-xxxxxxxxxx',
142
142
  title: { de: 'Google Analytics', en: 'Google Analytics' },
143
143
  description: {
144
144
  de: 'Die Verwendung der Analyse Cookies erfolgt zu dem Zweck, die Qualität unserer Website und ihre Inhalte zu verbessern und die Funktionsfähigkeit von eingebundenen Diensten unserer Partner sicherzustellen.',
@@ -207,7 +207,7 @@ const cc = new chefcookie({
207
207
  example_script2: {
208
208
  accept: (cc, resolve, isInit) => {
209
209
  /* example: load default scripts inside custom script */
210
- cc.load('analytics', 'UA-xxxxxxxx-1');
210
+ cc.load('analytics', 'G-xxxxxxxxxx');
211
211
  cc.load('tagmanager', 'GTM-XXXXXXX');
212
212
  cc.load('facebook', 'xxxxxxxxxxxxxxx');
213
213
  cc.load('twitter', 'single');
@@ -225,7 +225,7 @@ const cc = new chefcookie({
225
225
  cc.loadJs([
226
226
  'script1.js',
227
227
  'script2.js',
228
- 'https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-1'
228
+ 'https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxxx'
229
229
  ]).then(() => {
230
230
  resolve();
231
231
  });
@@ -239,7 +239,7 @@ const cc = new chefcookie({
239
239
 
240
240
  /* example: load scripts manually */
241
241
  let script1 = document.createElement('script');
242
- script1.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-1');
242
+ script1.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxxx');
243
243
  script1.onload = () => {
244
244
  resolve();
245
245
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chefcookie",
3
- "version": "2.8.6",
3
+ "version": "2.8.7",
4
4
  "main": "_build/script.js",
5
5
  "files": [
6
6
  "_build/*.js",