Skip to content

Commit 1d07fbf

Browse files
committed
[sc-8500] change consentAddSearchCookie default value
1 parent 4b31ba5 commit 1d07fbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ client.enablePersonalizationTracking(isEnabled, expirationDates);
354354
#### Allow storing AddSearch's user token in cookie
355355
By default, the value is true. Set it to false when users reject cookie (AddSearch's cookie can be categorized as functional/analytics cookie).
356356
```js
357-
// Default: true
358-
client.consentAddSearchCookie(false);
357+
// Default: false
358+
client.consentAddSearchCookie(true);
359359
```
360360

361361

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ var client = function(sitekey, privatekey) {
250250
* Personalization
251251
*/
252252
var isPersonalizationTrackingEnabled = false;
253-
var isAddSearchCookieConsented = true;
253+
var isAddSearchCookieConsented = false;
254254
var personalizationCookieExpireDays = 180;
255255

256256
this.getUserTokenInPersonalization = function() {

0 commit comments

Comments
 (0)