Cookie Policy
Template Overview
- Template ID:
cookies-policy - Version: 1.0.0
To generate this document, pass the structured data described below into the data property of the /api/v1/documents/generate endpoint.
Data Payload Schema
| Field | Type | Requirement | Description & Details |
|---|---|---|---|
jurisdiction | string | Yes | Governing law Determines the cookie law, regulator and consent model referenced throughout. Options: "South Africa (POPIA)", "United Kingdom (PECR + UK GDPR)", "Nigeria (NDPA + GAID 2025)" |
companyName | string | Yes | Legal name of your organisation |
websiteUrl | string | Yes | Website address Ex: www.lawyeredup.com |
contactEmail | string | Yes | Contact email for privacy / cookie queries |
effectiveDate | string | No | Last updated / effective date (Format: YYYY-MM-DD.) |
hasConsentBanner | boolean | No | Does your site use a cookie consent banner / preference centre? |
cookieCategories | array of strings | Yes | Categories of cookies used on your site Strictly necessary cookies are always included as exempt from consent. Options: "Strictly necessary (security, session, load balancing)", "Functional / preferences (remember settings and choices)", "Analytics / performance (how visitors use the site)", "Advertising / targeting (relevant ads, measuring campaigns)", "Social media (sharing and embedded content)" |
usesThirdPartyCookies | boolean | No | Do third parties set cookies through your site? Ex: Google Analytics, Meta Pixel, embedded YouTube. |
thirdParties | array of objects | Conditional | Third-party cookie providers Each entry: name (string), purpose (string), policyUrl (string). Required if usesThirdPartyCookies is true. |
consentRecordMonths | number | No | How long do you keep consent records (months)? POPIA expects at least 12. Ex: 12 |
explainsBrowserControls | boolean | No | Include guidance on controlling cookies via the browser? |
retentionNote | string | No | Cookie retention / duration note Ex: Session cookies expire when you close your browser; persistent cookies last up to 12 months. |
Example JSON Payload
Here is an example of a properly formatted data object for the Cookie Policy template.
{
"templateId": "cookies-policy",
"data": {
"jurisdiction": "South Africa (POPIA)",
"companyName": "Acme Corp",
"websiteUrl": "www.lawyeredup.com",
"contactEmail": "legal@acmecorp.com",
"effectiveDate": "2026-06-01",
"hasConsentBanner": true,
"cookieCategories": [
"Strictly necessary (security, session, load balancing)",
"Functional / preferences (remember settings and choices)"
],
"usesThirdPartyCookies": true,
"thirdParties": [
{
"name": "Sample Name",
"purpose": "Sample Purpose",
"policyUrl": "https://www.acmecorp.com"
}
],
"consentRecordMonths": 12,
"explainsBrowserControls": true,
"retentionNote": "Session cookies expire when you close your browser; persistent cookies last up to 12 months"
},
"format": "pdf"
}
