File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1212 const defaultConsent = {
1313 necessary : true ,
1414 analytics : false ,
15- identification : false ,
15+ marketing : false ,
1616 } ;
1717
1818 // Wait for the page to fully load
7575 if ( window . gtag ) {
7676 window . gtag ( "consent" , "update" , {
7777 analytics_storage : consent . analytics ? "granted" : "denied" ,
78- ad_user_data : consent . identification ? "granted" : "denied" ,
79- ad_personalization : consent . identification ? "granted" : "denied" ,
78+ ad_user_data : consent . marketing ? "granted" : "denied" ,
79+ ad_personalization : consent . marketing ? "granted" : "denied" ,
8080 } ) ;
8181 }
8282
116116 const consent = {
117117 necessary : true ,
118118 analytics : true ,
119- identification : true ,
119+ marketing : true ,
120120 } ;
121121 applyConsent ( consent ) ;
122122 hideCookieBanner ( ) ;
184184 <div class="cookie-category">
185185 <div class="cookie-category-header">
186186 <label class="cookie-switch">
187- <input type="checkbox" id="cookie-identification " ${ currentConsent . identification ? "checked" : "" } >
187+ <input type="checkbox" id="cookie-marketing " ${ currentConsent . marketing ? "checked" : "" } >
188188 <span class="cookie-slider"></span>
189189 </label>
190190 <div class="cookie-category-info">
211211 const consent = {
212212 necessary : true ,
213213 analytics : false ,
214- identification : false ,
214+ marketing : false ,
215215 } ;
216216 applyConsent ( consent ) ;
217217 hidePreferencesDialog ( ) ;
221221 const consent = {
222222 necessary : true ,
223223 analytics : document . getElementById ( "cookie-analytics" ) . checked ,
224- identification : document . getElementById ( "cookie-identification " )
224+ marketing : document . getElementById ( "cookie-marketing " )
225225 . checked ,
226226 } ;
227227 applyConsent ( consent ) ;
You can’t perform that action at this time.
0 commit comments