mirror of
https://github.com/offen/analyticstxt.git
synced 2024-11-22 09:00:29 +01:00
use days only to express retention periods
This commit is contained in:
parent
3c79dff072
commit
b0e3d99e36
@ -317,14 +317,14 @@ Allows: opt-out
|
|||||||
|
|
||||||
This field is REQUIRED unless the only value of the Collects field {{collects-field}} is none.
|
This field is REQUIRED unless the only value of the Collects field {{collects-field}} is none.
|
||||||
The single-value field indicates the duration for which the analytics data is being stored before being deleted. This duration MUST also cover periods where data might transition to be stored in aggregated form only.
|
The single-value field indicates the duration for which the analytics data is being stored before being deleted. This duration MUST also cover periods where data might transition to be stored in aggregated form only.
|
||||||
The value is either a duration as defined in {{!RFC3339}} or the token "perpetual" in case data is retained without expiring it at some point.
|
The value is either a duration in days (including the days suffix), or the token "perpetual" in case data is retained without expiring it at some point.
|
||||||
Implementors SHOULD add a comment providing a human readable value to this field.
|
A day is defined as 24 hours.
|
||||||
|
In case the retention period does not divide evenly into days, it MUST be brought up to the next round figure.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
# Data is retained for twelve months
|
Retains: 365 days
|
||||||
Retains: P12M
|
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
### Honors
|
### Honors
|
||||||
@ -485,8 +485,7 @@ Stores: first-party-cookies, local-storage
|
|||||||
Uses: javascript
|
Uses: javascript
|
||||||
# Users can also delete their usage data only without opting out
|
# Users can also delete their usage data only without opting out
|
||||||
Allows: opt-in, opt-out
|
Allows: opt-in, opt-out
|
||||||
# Data is retained for 6 months
|
Retains: 186 days
|
||||||
Retains: P6M
|
|
||||||
|
|
||||||
# Optional fields
|
# Optional fields
|
||||||
Honors: none
|
Honors: none
|
||||||
|
Loading…
Reference in New Issue
Block a user