Expand my Community achievements bar.

SOLVED

Confusion regarding mbox Cookie Duration

Avatar

Level 1

I am reviewing the available documentation to determine the duration of the mbox cookie. There appears to be conflicting information, as some references cite a duration of 2 years while others mention only 2 weeks.

 

Cookie Duration: 2 years

https://experienceleague.adobe.com/en/docs/core-services/interface/data-collection/cookies/target

https://experienceleague.adobe.com/en/docs/target-dev/developer/client-side/at-js-implementation/atj...

https://experienceleague.adobe.com/en/docs/core-services/interface/data-collection/cookies/web-sdk

 

Cookie Duration: 2 weeks

https://experienceleague.adobe.com/en/docs/target-dev/developer/implementation/privacy/cookie-behavi...

 

Which option is accurate? Additionally, if the duration is indeed 2 years, is there a way/setting to minimize it to 6 months or a shorter duration?

 

Please let me know. Thanks.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @PrabhatSharma 

 

The correct duration is 2 years and AFAIK it is not possible to change the duration of the cookie. 

Kind regards,

Kasper

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @PrabhatSharma 

 

The correct duration is 2 years and AFAIK it is not possible to change the duration of the cookie. 

Kind regards,

Kasper

Avatar

Level 4

The default should indeed be 2 years, I think there has been a small slipup defining 2 weeks for lifetime.

 

As the document describes, there is no way to change this without e.g. a separate script that adjusts the lifetime (note that Target script will restore it to 2 years when run). 

 

I'm curious: Is there a specific reason for this other than privacy/consent?

Avatar

Level 1

Hi @SSampsa 

 

Yes, we have some restrictions due to GDPR. That's why I am looking for a way to reduce the cookie duration.

 

Thanks,

Prabhat

Avatar

Level 4

In that case the only option is to use an external piece of script that rewrites the cookie duration after Target has run. These solutions work, but need special care as Target overrides the duration whenever it runs.