You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a JSON list does not allow for the format to be extended. Consider using a JSON object (a.k.a. hash or associative array) instead, since it allows useful metadata, something like:
{'version': 1.0,'privacy_policy'=>'https://www.example.com/privacy.html','contact'=>'https://www.example.com/contact.html','consentRequests': [{"id": "q1analytics","text": "We track and analyse your visit(s) on this website, for improving our product; this places a cookie on your device to recognise you on subsequent page visits."},
...
]}
Notice the above example has a version. as well as links to a privacy policy and contact page.
The text was updated successfully, but these errors were encountered:
{
"consentRequests": [
{
"id": "q1analytics",
"text": "We track and analyse your visit(s) on this website, for improving our product; this places a cookie on your device to recognise you on subsequent page visits."
},
{
"id": "q2recommendation",
"text": "We observe your interaction with our content to personalise your experience by recommending content you may find of interest."
},
]
}
So to maintain consistency, the term should be consentRequests, and the format should be:
Using a JSON list does not allow for the format to be extended. Consider using a JSON object (a.k.a. hash or associative array) instead, since it allows useful metadata, something like:
Notice the above example has a version. as well as links to a privacy policy and contact page.
The text was updated successfully, but these errors were encountered: