@walkeros/web-source-cmp-usercentrics 4.2.0 → 4.2.1-next-1781538735002
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 +15 -0
- package/README.md +36 -3
- package/dist/dev.d.mts +69 -50
- package/dist/dev.d.ts +69 -50
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/examples/index.d.mts +65 -43
- package/dist/examples/index.d.ts +65 -43
- package/dist/examples/index.js +101 -180
- package/dist/examples/index.mjs +97 -172
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +25 -16
- package/dist/index.d.ts +25 -16
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/walkerOS.json +439 -140
- package/package.json +3 -3
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-source-cmp-usercentrics",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.1-next-1781538735002",
|
|
5
5
|
"type": "source",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web"
|
|
@@ -15,10 +15,6 @@
|
|
|
15
15
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
16
16
|
"type": "object",
|
|
17
17
|
"properties": {
|
|
18
|
-
"eventName": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "Window event name to listen for, configured in the Usercentrics admin (Implementation > Data Layer & Events). Use 'UC_SDK_EVENT' for the built-in Browser SDK event. Default: 'ucEvent'."
|
|
21
|
-
},
|
|
22
18
|
"categoryMap": {
|
|
23
19
|
"type": "object",
|
|
24
20
|
"propertyNames": {
|
|
@@ -31,7 +27,7 @@
|
|
|
31
27
|
},
|
|
32
28
|
"explicitOnly": {
|
|
33
29
|
"type": "boolean",
|
|
34
|
-
"description": "Only
|
|
30
|
+
"description": "Only publish when the user has actively decided (V3: consent.type EXPLICIT; V2: an EXPLICIT entry in service consent history). Implicit/default page-load states are suppressed. Set false to publish any snapshot including implicit. Default: true."
|
|
35
31
|
}
|
|
36
32
|
},
|
|
37
33
|
"additionalProperties": false,
|
|
@@ -44,22 +40,11 @@
|
|
|
44
40
|
"$code": "()=>()=>Promise.resolve({ok:!0})"
|
|
45
41
|
},
|
|
46
42
|
"createTrigger": {
|
|
47
|
-
"$code": "async
|
|
48
|
-
},
|
|
49
|
-
"fullConsent": {
|
|
50
|
-
"event": "consent_status",
|
|
51
|
-
"type": "explicit",
|
|
52
|
-
"action": "onAcceptAllServices",
|
|
53
|
-
"ucCategory": {
|
|
54
|
-
"essential": true,
|
|
55
|
-
"functional": true,
|
|
56
|
-
"marketing": true
|
|
57
|
-
},
|
|
58
|
-
"Google Analytics": true,
|
|
59
|
-
"Google Ads Remarketing": true
|
|
43
|
+
"$code": "async t=>{let e;return{get flow(){return e},trigger:(i,s)=>async i=>{var n;if(!e){const i=await C({...t,run:null==(n=t.run)||n});e={collector:i.collector,elb:i.elb}}const a=(null==s?void 0:s.eventName)||\"ucEvent\";window.dispatchEvent(new CustomEvent(a,{detail:i}))}}}"
|
|
60
44
|
},
|
|
61
45
|
"fullConsentCustomMapped": {
|
|
62
46
|
"functional": true,
|
|
47
|
+
"analytics": true,
|
|
63
48
|
"marketing": true
|
|
64
49
|
},
|
|
65
50
|
"fullConsentMapped": {
|
|
@@ -67,48 +52,11 @@
|
|
|
67
52
|
"functional": true,
|
|
68
53
|
"marketing": true
|
|
69
54
|
},
|
|
70
|
-
"fullConsentUpperCase": {
|
|
71
|
-
"event": "consent_status",
|
|
72
|
-
"type": "EXPLICIT",
|
|
73
|
-
"action": "onAcceptAllServices",
|
|
74
|
-
"ucCategory": {
|
|
75
|
-
"essential": true,
|
|
76
|
-
"functional": true,
|
|
77
|
-
"marketing": true
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"implicitConsent": {
|
|
81
|
-
"event": "consent_status",
|
|
82
|
-
"type": "implicit",
|
|
83
|
-
"ucCategory": {
|
|
84
|
-
"essential": true,
|
|
85
|
-
"functional": false,
|
|
86
|
-
"marketing": false
|
|
87
|
-
},
|
|
88
|
-
"Google Analytics": false,
|
|
89
|
-
"Google Ads Remarketing": false
|
|
90
|
-
},
|
|
91
|
-
"minimalConsent": {
|
|
92
|
-
"event": "consent_status",
|
|
93
|
-
"type": "explicit",
|
|
94
|
-
"action": "onDenyAllServices",
|
|
95
|
-
"ucCategory": {
|
|
96
|
-
"essential": true,
|
|
97
|
-
"functional": false,
|
|
98
|
-
"marketing": false
|
|
99
|
-
},
|
|
100
|
-
"Google Analytics": false,
|
|
101
|
-
"Google Ads Remarketing": false
|
|
102
|
-
},
|
|
103
55
|
"minimalConsentMapped": {
|
|
104
56
|
"essential": true,
|
|
105
57
|
"functional": false,
|
|
106
58
|
"marketing": false
|
|
107
59
|
},
|
|
108
|
-
"nonConsentEvent": {
|
|
109
|
-
"event": "other_event",
|
|
110
|
-
"type": "explicit"
|
|
111
|
-
},
|
|
112
60
|
"noopLogger": {
|
|
113
61
|
"error": {
|
|
114
62
|
"$code": "()=>{}"
|
|
@@ -123,71 +71,226 @@
|
|
|
123
71
|
"$code": "()=>{}"
|
|
124
72
|
},
|
|
125
73
|
"throw": {
|
|
126
|
-
"$code": "
|
|
74
|
+
"$code": "t=>{throw\"string\"==typeof t?new Error(t):t}"
|
|
127
75
|
},
|
|
128
76
|
"json": {
|
|
129
77
|
"$code": "()=>{}"
|
|
130
78
|
},
|
|
131
79
|
"scope": {
|
|
132
|
-
"$code": "()=>
|
|
80
|
+
"$code": "()=>y"
|
|
133
81
|
}
|
|
134
82
|
},
|
|
135
|
-
"partialConsent": {
|
|
136
|
-
"event": "consent_status",
|
|
137
|
-
"type": "explicit",
|
|
138
|
-
"action": "onUpdateServices",
|
|
139
|
-
"ucCategory": {
|
|
140
|
-
"essential": true,
|
|
141
|
-
"functional": true,
|
|
142
|
-
"marketing": false
|
|
143
|
-
},
|
|
144
|
-
"Google Analytics": true,
|
|
145
|
-
"Google Ads Remarketing": false
|
|
146
|
-
},
|
|
147
83
|
"partialConsentMapped": {
|
|
148
84
|
"essential": true,
|
|
149
85
|
"functional": true,
|
|
150
86
|
"marketing": false
|
|
151
87
|
},
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
88
|
+
"servicesFirstVisitImplicit": [
|
|
89
|
+
{
|
|
90
|
+
"categorySlug": "essential",
|
|
91
|
+
"consent": {
|
|
92
|
+
"status": true,
|
|
93
|
+
"history": [
|
|
94
|
+
{
|
|
95
|
+
"type": "implicit",
|
|
96
|
+
"status": true
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
160
100
|
},
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
101
|
+
{
|
|
102
|
+
"categorySlug": "functional",
|
|
103
|
+
"consent": {
|
|
104
|
+
"status": false,
|
|
105
|
+
"history": [
|
|
106
|
+
{
|
|
107
|
+
"type": "implicit",
|
|
108
|
+
"status": false
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"categorySlug": "marketing",
|
|
115
|
+
"consent": {
|
|
116
|
+
"status": false,
|
|
117
|
+
"history": [
|
|
118
|
+
{
|
|
119
|
+
"type": "implicit",
|
|
120
|
+
"status": false
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"servicesFullExplicit": [
|
|
127
|
+
{
|
|
128
|
+
"categorySlug": "essential",
|
|
129
|
+
"consent": {
|
|
130
|
+
"status": true,
|
|
131
|
+
"history": [
|
|
132
|
+
{
|
|
133
|
+
"type": "explicit",
|
|
134
|
+
"status": true
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"categorySlug": "functional",
|
|
141
|
+
"consent": {
|
|
142
|
+
"status": true,
|
|
143
|
+
"history": [
|
|
144
|
+
{
|
|
145
|
+
"type": "explicit",
|
|
146
|
+
"status": true
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"categorySlug": "marketing",
|
|
153
|
+
"consent": {
|
|
154
|
+
"status": true,
|
|
155
|
+
"history": [
|
|
156
|
+
{
|
|
157
|
+
"type": "explicit",
|
|
158
|
+
"status": true
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"servicesMinimalExplicit": [
|
|
165
|
+
{
|
|
166
|
+
"categorySlug": "essential",
|
|
167
|
+
"consent": {
|
|
168
|
+
"status": true,
|
|
169
|
+
"history": [
|
|
170
|
+
{
|
|
171
|
+
"type": "explicit",
|
|
172
|
+
"status": true
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"categorySlug": "functional",
|
|
179
|
+
"consent": {
|
|
180
|
+
"status": false,
|
|
181
|
+
"history": [
|
|
182
|
+
{
|
|
183
|
+
"type": "explicit",
|
|
184
|
+
"status": false
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"categorySlug": "marketing",
|
|
191
|
+
"consent": {
|
|
192
|
+
"status": false,
|
|
193
|
+
"history": [
|
|
194
|
+
{
|
|
195
|
+
"type": "explicit",
|
|
196
|
+
"status": false
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"servicesPartialExplicit": [
|
|
203
|
+
{
|
|
204
|
+
"categorySlug": "essential",
|
|
205
|
+
"consent": {
|
|
206
|
+
"status": true,
|
|
207
|
+
"history": [
|
|
208
|
+
{
|
|
209
|
+
"type": "explicit",
|
|
210
|
+
"status": true
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"categorySlug": "functional",
|
|
217
|
+
"consent": {
|
|
218
|
+
"status": true,
|
|
219
|
+
"history": [
|
|
220
|
+
{
|
|
221
|
+
"type": "explicit",
|
|
222
|
+
"status": true
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"categorySlug": "marketing",
|
|
229
|
+
"consent": {
|
|
230
|
+
"status": false,
|
|
231
|
+
"history": [
|
|
232
|
+
{
|
|
233
|
+
"type": "explicit",
|
|
234
|
+
"status": false
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
],
|
|
171
240
|
"step": {
|
|
172
241
|
"categoryMapOverride": {
|
|
173
242
|
"title": "Category map override",
|
|
174
|
-
"description": "
|
|
243
|
+
"description": "A custom categoryMap remaps essential to functional and functional to analytics before emitting the walker consent command.",
|
|
175
244
|
"trigger": {
|
|
176
|
-
"type": "consent"
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
"event": "consent_status",
|
|
180
|
-
"type": "explicit",
|
|
181
|
-
"ucCategory": {
|
|
182
|
-
"essential": true,
|
|
183
|
-
"functional": true,
|
|
184
|
-
"marketing": false
|
|
245
|
+
"type": "consent",
|
|
246
|
+
"options": {
|
|
247
|
+
"dispatch": "init"
|
|
185
248
|
}
|
|
186
249
|
},
|
|
250
|
+
"in": [
|
|
251
|
+
{
|
|
252
|
+
"categorySlug": "essential",
|
|
253
|
+
"consent": {
|
|
254
|
+
"status": true,
|
|
255
|
+
"history": [
|
|
256
|
+
{
|
|
257
|
+
"type": "explicit",
|
|
258
|
+
"status": true
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"categorySlug": "functional",
|
|
265
|
+
"consent": {
|
|
266
|
+
"status": true,
|
|
267
|
+
"history": [
|
|
268
|
+
{
|
|
269
|
+
"type": "explicit",
|
|
270
|
+
"status": true
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"categorySlug": "marketing",
|
|
277
|
+
"consent": {
|
|
278
|
+
"status": true,
|
|
279
|
+
"history": [
|
|
280
|
+
{
|
|
281
|
+
"type": "explicit",
|
|
282
|
+
"status": true
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
],
|
|
187
288
|
"mapping": {
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
289
|
+
"settings": {
|
|
290
|
+
"categoryMap": {
|
|
291
|
+
"essential": "functional",
|
|
292
|
+
"functional": "analytics"
|
|
293
|
+
}
|
|
191
294
|
}
|
|
192
295
|
},
|
|
193
296
|
"out": [
|
|
@@ -197,32 +300,58 @@
|
|
|
197
300
|
{
|
|
198
301
|
"functional": true,
|
|
199
302
|
"analytics": true,
|
|
200
|
-
"marketing":
|
|
303
|
+
"marketing": true
|
|
201
304
|
}
|
|
202
305
|
]
|
|
203
306
|
]
|
|
204
307
|
},
|
|
205
|
-
"
|
|
206
|
-
"title": "
|
|
207
|
-
"description": "
|
|
308
|
+
"consentChange": {
|
|
309
|
+
"title": "Consent change via CMP event",
|
|
310
|
+
"description": "An ACCEPT_ALL decision fires UC_UI_CMP_EVENT; the source re-reads the services and emits the updated consent.",
|
|
208
311
|
"trigger": {
|
|
209
312
|
"type": "consent",
|
|
210
313
|
"options": {
|
|
211
|
-
"
|
|
314
|
+
"dispatch": "cmp"
|
|
212
315
|
}
|
|
213
316
|
},
|
|
214
|
-
"in":
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
317
|
+
"in": [
|
|
318
|
+
{
|
|
319
|
+
"categorySlug": "essential",
|
|
320
|
+
"consent": {
|
|
321
|
+
"status": true,
|
|
322
|
+
"history": [
|
|
323
|
+
{
|
|
324
|
+
"type": "explicit",
|
|
325
|
+
"status": true
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"categorySlug": "functional",
|
|
332
|
+
"consent": {
|
|
333
|
+
"status": true,
|
|
334
|
+
"history": [
|
|
335
|
+
{
|
|
336
|
+
"type": "explicit",
|
|
337
|
+
"status": true
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"categorySlug": "marketing",
|
|
344
|
+
"consent": {
|
|
345
|
+
"status": true,
|
|
346
|
+
"history": [
|
|
347
|
+
{
|
|
348
|
+
"type": "explicit",
|
|
349
|
+
"status": true
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
}
|
|
221
353
|
}
|
|
222
|
-
|
|
223
|
-
"mapping": {
|
|
224
|
-
"eventName": "UC_SDK_EVENT"
|
|
225
|
-
},
|
|
354
|
+
],
|
|
226
355
|
"out": [
|
|
227
356
|
[
|
|
228
357
|
"elb",
|
|
@@ -235,22 +364,102 @@
|
|
|
235
364
|
]
|
|
236
365
|
]
|
|
237
366
|
},
|
|
367
|
+
"firstVisitImplicit": {
|
|
368
|
+
"title": "First visit implicit (suppressed)",
|
|
369
|
+
"description": "A first-visit snapshot carrying only implicit history is suppressed by the default explicitOnly gate, so no consent command is emitted.",
|
|
370
|
+
"trigger": {
|
|
371
|
+
"type": "consent",
|
|
372
|
+
"options": {
|
|
373
|
+
"dispatch": "init"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"in": [
|
|
377
|
+
{
|
|
378
|
+
"categorySlug": "essential",
|
|
379
|
+
"consent": {
|
|
380
|
+
"status": true,
|
|
381
|
+
"history": [
|
|
382
|
+
{
|
|
383
|
+
"type": "implicit",
|
|
384
|
+
"status": true
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"categorySlug": "functional",
|
|
391
|
+
"consent": {
|
|
392
|
+
"status": false,
|
|
393
|
+
"history": [
|
|
394
|
+
{
|
|
395
|
+
"type": "implicit",
|
|
396
|
+
"status": false
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"categorySlug": "marketing",
|
|
403
|
+
"consent": {
|
|
404
|
+
"status": false,
|
|
405
|
+
"history": [
|
|
406
|
+
{
|
|
407
|
+
"type": "implicit",
|
|
408
|
+
"status": false
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"out": []
|
|
415
|
+
},
|
|
238
416
|
"fullConsent": {
|
|
239
417
|
"title": "Full consent",
|
|
240
|
-
"description": "
|
|
418
|
+
"description": "Usercentrics reports every category accepted via an explicit decision; the source emits a walker consent command granting essential, functional, and marketing.",
|
|
241
419
|
"trigger": {
|
|
242
|
-
"type": "consent"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
"event": "consent_status",
|
|
246
|
-
"type": "explicit",
|
|
247
|
-
"action": "onAcceptAllServices",
|
|
248
|
-
"ucCategory": {
|
|
249
|
-
"essential": true,
|
|
250
|
-
"functional": true,
|
|
251
|
-
"marketing": true
|
|
420
|
+
"type": "consent",
|
|
421
|
+
"options": {
|
|
422
|
+
"dispatch": "init"
|
|
252
423
|
}
|
|
253
424
|
},
|
|
425
|
+
"in": [
|
|
426
|
+
{
|
|
427
|
+
"categorySlug": "essential",
|
|
428
|
+
"consent": {
|
|
429
|
+
"status": true,
|
|
430
|
+
"history": [
|
|
431
|
+
{
|
|
432
|
+
"type": "explicit",
|
|
433
|
+
"status": true
|
|
434
|
+
}
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"categorySlug": "functional",
|
|
440
|
+
"consent": {
|
|
441
|
+
"status": true,
|
|
442
|
+
"history": [
|
|
443
|
+
{
|
|
444
|
+
"type": "explicit",
|
|
445
|
+
"status": true
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"categorySlug": "marketing",
|
|
452
|
+
"consent": {
|
|
453
|
+
"status": true,
|
|
454
|
+
"history": [
|
|
455
|
+
{
|
|
456
|
+
"type": "explicit",
|
|
457
|
+
"status": true
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
],
|
|
254
463
|
"out": [
|
|
255
464
|
[
|
|
256
465
|
"elb",
|
|
@@ -265,20 +474,51 @@
|
|
|
265
474
|
},
|
|
266
475
|
"minimalConsent": {
|
|
267
476
|
"title": "Minimal consent",
|
|
268
|
-
"description": "A
|
|
477
|
+
"description": "A \"Deny all\" explicit decision leaves only essential granted; functional and marketing are emitted as false.",
|
|
269
478
|
"trigger": {
|
|
270
|
-
"type": "consent"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
"event": "consent_status",
|
|
274
|
-
"type": "explicit",
|
|
275
|
-
"action": "onDenyAllServices",
|
|
276
|
-
"ucCategory": {
|
|
277
|
-
"essential": true,
|
|
278
|
-
"functional": false,
|
|
279
|
-
"marketing": false
|
|
479
|
+
"type": "consent",
|
|
480
|
+
"options": {
|
|
481
|
+
"dispatch": "init"
|
|
280
482
|
}
|
|
281
483
|
},
|
|
484
|
+
"in": [
|
|
485
|
+
{
|
|
486
|
+
"categorySlug": "essential",
|
|
487
|
+
"consent": {
|
|
488
|
+
"status": true,
|
|
489
|
+
"history": [
|
|
490
|
+
{
|
|
491
|
+
"type": "explicit",
|
|
492
|
+
"status": true
|
|
493
|
+
}
|
|
494
|
+
]
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"categorySlug": "functional",
|
|
499
|
+
"consent": {
|
|
500
|
+
"status": false,
|
|
501
|
+
"history": [
|
|
502
|
+
{
|
|
503
|
+
"type": "explicit",
|
|
504
|
+
"status": false
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"categorySlug": "marketing",
|
|
511
|
+
"consent": {
|
|
512
|
+
"status": false,
|
|
513
|
+
"history": [
|
|
514
|
+
{
|
|
515
|
+
"type": "explicit",
|
|
516
|
+
"status": false
|
|
517
|
+
}
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
],
|
|
282
522
|
"out": [
|
|
283
523
|
[
|
|
284
524
|
"elb",
|
|
@@ -290,10 +530,69 @@
|
|
|
290
530
|
}
|
|
291
531
|
]
|
|
292
532
|
]
|
|
533
|
+
},
|
|
534
|
+
"returningVisitor": {
|
|
535
|
+
"title": "Returning visitor static read",
|
|
536
|
+
"description": "When the CMP is already initialized with a stored explicit decision, the static read at init re-publishes that choice without any further event.",
|
|
537
|
+
"trigger": {
|
|
538
|
+
"type": "consent",
|
|
539
|
+
"options": {
|
|
540
|
+
"dispatch": "init"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"in": [
|
|
544
|
+
{
|
|
545
|
+
"categorySlug": "essential",
|
|
546
|
+
"consent": {
|
|
547
|
+
"status": true,
|
|
548
|
+
"history": [
|
|
549
|
+
{
|
|
550
|
+
"type": "explicit",
|
|
551
|
+
"status": true
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"categorySlug": "functional",
|
|
558
|
+
"consent": {
|
|
559
|
+
"status": true,
|
|
560
|
+
"history": [
|
|
561
|
+
{
|
|
562
|
+
"type": "explicit",
|
|
563
|
+
"status": true
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"categorySlug": "marketing",
|
|
570
|
+
"consent": {
|
|
571
|
+
"status": false,
|
|
572
|
+
"history": [
|
|
573
|
+
{
|
|
574
|
+
"type": "explicit",
|
|
575
|
+
"status": false
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"out": [
|
|
582
|
+
[
|
|
583
|
+
"elb",
|
|
584
|
+
"walker consent",
|
|
585
|
+
{
|
|
586
|
+
"essential": true,
|
|
587
|
+
"functional": true,
|
|
588
|
+
"marketing": false
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
]
|
|
293
592
|
}
|
|
294
593
|
},
|
|
295
594
|
"trigger": {
|
|
296
|
-
"$code": "(e
|
|
595
|
+
"$code": "(t,e)=>{if(t&&\"object\"==typeof t)return()=>{e.window.dispatchEvent(new CustomEvent(\"ucEvent\",{detail:t}))}}"
|
|
297
596
|
}
|
|
298
597
|
}
|
|
299
598
|
}
|