Currently we use cookieLifetime variable to set the Adobe cookie limit on our website.
Seen with the new rules of RGPD, we fixed the expiry to 13 months to abide by the law.
Now we need to add a setting to make the cookies' expiry date not get renewed on every visit.
So for example :
Visitor X :
Visit 1 - 02/01/2022 : Cookie expires in 13 months - expiry date : 02/02/2023
Visit 2 - 12/03/2022 : Cookies already exist - expiry date shouldn't be renewed - cookies still have to expire on 02/02/2023
I checked the Adobe documentation, all I found is this:
Has anyone ever done this using the first solution? As I am not able to find more information online.
I think you misunderstood my question.
We already assign cookieLifetime to 13 months in a string integer.
What I meant in my question is, how do I avoid that the cookie renews 13 months at every visit of the same user?
Since this is a limitation in AppMeasurement or ECID itself, I don't think there's anything that you can do. You'll have to consult Adobe Client Care to see if they can get engineering to update their code to allow you to specify an expiry that never changes.