Skip to content

Commit

Permalink
fix consent object
Browse files Browse the repository at this point in the history
  • Loading branch information
colegoldsmith committed Jan 9, 2025
1 parent 35bacac commit c0dd2bc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/js/04-segment-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
const trackedElements = document.querySelectorAll('[data-track]:not(a)')

const context = {
context: {
consent: {
categoryPreferences: {
advertising: 'behavioral_advertising',
ketch_purpose_code: 'ketch_purpose_code',
analytics: 'analytics',
data_broking: 'data_broking',
personalization: 'personalization',
essential_services: 'essential_services',
},
consent: {
categoryPreferences: {
advertising: 'behavioral_advertising',
ketch_purpose_code: 'ketch_purpose_code',
analytics: 'analytics',
data_broking: 'data_broking',
personalization: 'personalization',
essential_services: 'essential_services',
},
},
}
Expand Down

0 comments on commit c0dd2bc

Please sign in to comment.