Did you know that cookies have a lifespan, and that there are laws determining how long a cookie's life span is allowed to be?
Well, in that case here is a short rundown of the wheres and whats of cookie lifespans.
Cookies are, as you might know, small files stored on your computer when browsing the internet, designed to track your behaviour, choices, system info etc.
They do so for a predefined amount of time, before they expire. meaning that they stop tracking you. Many are simple session cookies that expire when the browsing session ends, but some can have lifespans that are much longer, which can mean, that the use of the cookie on your website could be non compliant.
The short answer is, that to be compliant requires cookies to be active for a maximum of 365 days. Then you would need to collect new consent to make sure you are still allowed to collect the data. The big challenge with cookie lifespan is that many common cookie providers ignore this and in some cases we find cookies set to a life span of two, five or in some cases even ten years (effectively setting them "forever" as most users will change most of their devices at least once every decade). Unfortunately, as a website owner, it is your responsibility that you do not have any cookies with lifespans exceeding one year.
This depends on the cookie and the script that sets the cookie. Unfortunately this varies immensely from cookie to cookie so we can't tell you how to do it on all cookies. We can however help you our with one of the most common ones. We currently have a guide for : Google Analytics