Open AdamWadd opened 3 years ago
@AdamWadd Can you please explain the use case (or the need) for this feature in Alloy?
This used to be a popular feature when we didn't have consent support, back in the days. Now the lifetime of the cookie is less important because consent takes precedence.
I'd love to learn more, thanks.
@vivasd
Are there any plans to support this feature, my use case has also a very strict guidance for not having cookies that go beyond 365 days.
Specifically, per these docs, there are three cookies with a Max-Age greater than 365 days:
We have also engaged the Adobe Analytics support and they confirmed, as of Sep/17/2024 there is no support for setting the "cookieLifetime" in the Web SDK: https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/config-vars/cookielifetime
The Web SDK does not yet offer customization to the lifetime of cookies that it sets.
Currently, there is no function within the Alloy framework to support setting cookie expiration in the same manner as is supported using s.cookieLifetime in AppMeasurement.
Without this functionality in Alloy, we cannot manually set/control the cookie expiration using this solution.