Skip to content

Commit 744e543

Browse files
Disable conditional Ketch footer link text in CA
1 parent c948a44 commit 744e543

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/js/10-ketch-consent.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
})
99

1010
// If the user is in the US-CA region, change the text of the preference center link
11-
window.ketch('on', 'regionInfo', (regionInfo) => {
12-
const customTextRegions = ['US-CA']
13-
if (customTextRegions.includes(regionInfo)) {
14-
const preferenceCenterLinkElement = document.getElementById('preferenceCenterLink')
15-
if (preferenceCenterLinkElement) {
16-
preferenceCenterLinkElement.textContent = 'Do Not Sell My Personal Information'
17-
}
18-
}
19-
})
11+
// 3/19/25: Disabled this feature due to shifting CA legal requirements. Will re-enable with new textContent if needed.
12+
// window.ketch('on', 'regionInfo', (regionInfo) => {
13+
// const customTextRegions = ['US-CA']
14+
// if (customTextRegions.includes(regionInfo)) {
15+
// const preferenceCenterLinkElement = document.getElementById('preferenceCenterLink')
16+
// if (preferenceCenterLinkElement) {
17+
// preferenceCenterLinkElement.textContent = 'Do Not Sell My Personal Information'
18+
// }
19+
// }
20+
// })
2021

2122
// If the user is in the default jurisdiction, remove the preference center link
2223
window.ketch('on', 'jurisdiction', (jurisdiction) => {

0 commit comments

Comments
 (0)