@@ -126,6 +126,21 @@ describe('Google Analytics 4 Event', function () {
126126 Timestamp : 1 ,
127127 Document : 'test_consent' ,
128128 } ,
129+ functionality_consent : {
130+ Consented : false ,
131+ Timestamp : 1 ,
132+ Document : 'functionality_consent' ,
133+ } ,
134+ personalization_consent : {
135+ Consented : false ,
136+ Timestamp : 1 ,
137+ Document : 'personalization_consent' ,
138+ } ,
139+ security_consent : {
140+ Consented : false ,
141+ Timestamp : 1 ,
142+ Document : 'security_consent' ,
143+ } ,
129144 } ;
130145 } ,
131146 } ;
@@ -2679,6 +2694,24 @@ describe('Google Analytics 4 Event', function () {
26792694 maptype : 'ConsentPurposes' ,
26802695 value : 'ad_personalization' ,
26812696 } ,
2697+ {
2698+ jsmap : null ,
2699+ map : 'Functionality_consent' ,
2700+ maptype : 'ConsentPurposes' ,
2701+ value : 'functionality_storage' ,
2702+ } ,
2703+ {
2704+ jsmap : null ,
2705+ map : 'Personalization_consent' ,
2706+ maptype : 'ConsentPurposes' ,
2707+ value : 'personalization_storage' ,
2708+ } ,
2709+ {
2710+ jsmap : null ,
2711+ map : 'Security_consent' ,
2712+ maptype : 'ConsentPurposes' ,
2713+ value : 'security_storage' ,
2714+ } ,
26822715 ] ;
26832716
26842717 beforeEach ( function ( ) {
@@ -2690,7 +2723,7 @@ describe('Google Analytics 4 Event', function () {
26902723 {
26912724 conversionId : 'AW-123123123' ,
26922725 consentMappingSDK :
2693- '[{"jsmap":null,"map":"Some_consent","maptype":"ConsentPurposes","value":"ad_user_data"},{"jsmap":null,"map":"Storage_consent","maptype":"ConsentPurposes","value":"analytics_storage"},{"jsmap":null,"map":"Other_test_consent","maptype":"ConsentPurposes","value":"ad_storage"},{"jsmap":null,"map":"Test_consent","maptype":"ConsentPurposes","value":"ad_personalization"}]' ,
2726+ '[{"jsmap":null,"map":"Some_consent","maptype":"ConsentPurposes","value":"ad_user_data"},{"jsmap":null,"map":"Storage_consent","maptype":"ConsentPurposes","value":"analytics_storage"},{"jsmap":null,"map":"Other_test_consent","maptype":"ConsentPurposes","value":"ad_storage"},{"jsmap":null,"map":"Test_consent","maptype":"ConsentPurposes","value":"ad_personalization"},{"jsmap":null,"map":"Functionality_consent","maptype":"ConsentPurposes","value":"functionality_storage"},{"jsmap":null,"map":"Personalization_consent","maptype":"ConsentPurposes","value":"personalization_storage"},{"jsmap":null,"map":"Security_consent","maptype":"ConsentPurposes","value":"security_storage"}]' ,
26942727 } ,
26952728 reportService . cb ,
26962729 true
@@ -2702,6 +2735,9 @@ describe('Google Analytics 4 Event', function () {
27022735 {
27032736 ad_user_data : 'denied' ,
27042737 ad_personalization : 'denied' ,
2738+ functionality_storage : 'denied' ,
2739+ personalization_storage : 'denied' ,
2740+ security_storage : 'denied' ,
27052741 } ,
27062742 ] ;
27072743
@@ -2748,6 +2784,9 @@ describe('Google Analytics 4 Event', function () {
27482784 ad_user_data : 'denied' , // From User Consent State
27492785 ad_storage : 'granted' , // From Consent Settings
27502786 analytics_storage : 'granted' , // From Consent Settings
2787+ functionality_storage : 'denied' , // From User Consent State
2788+ personalization_storage : 'denied' , // From User Consent State
2789+ security_storage : 'denied' , // From User Consent State
27512790 } ,
27522791 ] ;
27532792
@@ -2785,6 +2824,9 @@ describe('Google Analytics 4 Event', function () {
27852824 {
27862825 ad_personalization : 'denied' , // From User Consent State
27872826 ad_user_data : 'denied' , // From User Consent State
2827+ functionality_storage : 'denied' , // From User Consent State
2828+ personalization_storage : 'denied' , // From User Consent State
2829+ security_storage : 'denied' , // From User Consent State
27882830 } ,
27892831 ] ;
27902832
@@ -2815,6 +2857,9 @@ describe('Google Analytics 4 Event', function () {
28152857 {
28162858 ad_user_data : 'denied' ,
28172859 ad_personalization : 'denied' ,
2860+ functionality_storage : 'denied' ,
2861+ personalization_storage : 'denied' ,
2862+ security_storage : 'denied' ,
28182863 } ,
28192864 ] ;
28202865
@@ -2996,6 +3041,9 @@ describe('Google Analytics 4 Event', function () {
29963041 ad_user_data : 'denied' , // From User Consent State
29973042 ad_storage : 'granted' , // From Consent Settings
29983043 analytics_storage : 'granted' , // From Consent Settings
3044+ functionality_storage : 'denied' , // From User Consent State
3045+ personalization_storage : 'denied' , // From User Consent State
3046+ security_storage : 'denied' , // From User Consent State
29993047 } ,
30003048 ] ;
30013049
@@ -3167,6 +3215,9 @@ describe('Google Analytics 4 Event', function () {
31673215 {
31683216 ad_user_data : 'denied' ,
31693217 ad_personalization : 'denied' ,
3218+ functionality_storage : 'denied' ,
3219+ personalization_storage : 'denied' ,
3220+ security_storage : 'denied' ,
31703221 } ,
31713222 ] ;
31723223
@@ -3199,6 +3250,21 @@ describe('Google Analytics 4 Event', function () {
31993250 Timestamp : Date . now ( ) ,
32003251 Document : 'test_consent' ,
32013252 } ,
3253+ functionality_consent : {
3254+ Consented : false ,
3255+ Timestamp : Date . now ( ) ,
3256+ Document : 'functionality_consent' ,
3257+ } ,
3258+ personalization_consent : {
3259+ Consented : false ,
3260+ Timestamp : Date . now ( ) ,
3261+ Document : 'personalization_consent' ,
3262+ } ,
3263+ security_consent : {
3264+ Consented : false ,
3265+ Timestamp : Date . now ( ) ,
3266+ Document : 'security_consent' ,
3267+ } ,
32023268 } ;
32033269 } ,
32043270 } ,
0 commit comments