Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards
GELÖST

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.

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
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


I share weekly Adobe tips on LinkedIn—connect with me!

Every Wednesday: "Something a client recently asked..."

LinkedIn Profile

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
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


I share weekly Adobe tips on LinkedIn—connect with me!

Every Wednesday: "Something a client recently asked..."

LinkedIn Profile

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.