Skip to content

Commit

Permalink
Fix: Add missing 'ads' level to dataLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Dec 2, 2021
1 parent 832f4ce commit ec6ed5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LmcCookieConsentManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ function pushToDataLayer(cookie) {
event: 'CookieConsent-update',
'CookieConsent.necessary': cookie.level.includes('necessary'),
'CookieConsent.analytics': cookie.level.includes('analytics'),
'CookieConsent.ads': cookie.level.includes('ads'),
'CookieConsent.functionality': cookie.level.includes('functionality'),
'CookieConsent.personalization': cookie.level.includes('personalization'),
'CookieConsent.revision': cookie.revision,
Expand Down

0 comments on commit ec6ed5b

Please sign in to comment.