1. What are cookies?
Cookies are small text files stored on your device when you visit a website. Similar technologies include local storage, session storage, and pixel tags. They help websites function securely, remember preferences, and—where you consent—understand how visitors use public services.
This Cookie Policy supplements our Privacy Policy and works together with the CookieYes | GDPR Cookie Consent widget on public pages.
2. Who sets cookies?
Cookies may be set by Trans Nzoia County PMTS (“first-party”) or by trusted providers that support hosting, security, analytics, or embedded content (“third-party”). Third-party cookies are blocked or deferred until you grant the relevant consent category.
3. How we obtain consent
On your first visit to public pages, CookieYes presents choices to:
- Accept all — enable all optional categories described below;
- Reject non-essential — allow only strictly necessary cookies;
- Customise — choose Functional, Analytics, and Marketing categories individually.
You may reopen preferences at any time using the CookieYes button at the bottom-left of public pages.
Your choice is stored in local storage and a pmts_cookie_consent cookie for up to 12 months.
4. Cookie categories
4.1 Strictly necessary (always active)
Required for core portal operation. These cannot be switched off via CookieYes because the site would not function securely without them.
| Name / purpose | Typical duration | Provider |
|---|---|---|
csrftoken — Cross-site request forgery protection for forms |
Session / 1 year | PMTS (Django) |
sessionid — Authenticated staff or registered user sessions |
Session / 2 weeks | PMTS (Django) |
pmts_cookie_consent — Records your CookieYes choices |
Up to 12 months | PMTS / CookieYes |
| Security and load-balancing identifiers | Session | Hosting infrastructure |
4.2 Functional (optional)
Remember preferences that improve usability but are not strictly required.
| Name / purpose | Typical duration | Provider |
|---|---|---|
pmts-accessiyes-v1 — PMTSAccess accessibility settings (font size, contrast, etc.) |
Persistent until cleared | PMTS / PMTSAccess |
| PMTS Assistant / UI preference keys in local storage | Persistent until cleared | PMTS |
| Language or display preferences where enabled | Session / 12 months | PMTS |
4.3 Analytics (optional)
Help us understand aggregate usage of public dashboards and content to improve services. We configure analytics to avoid unnecessary personal identification where possible.
| Name / purpose | Typical duration | Provider |
|---|---|---|
| Anonymous page-view and performance metrics | Session / up to 24 months | County-configured analytics (if enabled) |
| Error and uptime monitoring identifiers | Session / 30 days | Infrastructure monitoring |
Note: Specific analytics tools are activated only after you consent to the Analytics category.
4.4 Marketing (optional)
Used for campaign measurement or embedded third-party media that sets marketing cookies.
| Name / purpose | Typical duration | Provider |
|---|---|---|
| Embedded social or video platform cookies | Varies by provider | Third-party embed (if present on a page) |
| Campaign attribution pixels | Up to 90 days | County-configured (if enabled) |
5. Managing cookies in your browser
You can delete or block cookies through your browser settings. Blocking strictly necessary cookies may prevent login, form submission, or consent storage. Refer to your browser help pages for instructions (Chrome, Firefox, Safari, Edge, etc.).
6. For developers and integrators
Scripts that require consent should use type="text/plain" with
data-cookie-category="analytics" (or functional/marketing) so CookieYes activates them only after approval.
JavaScript may check window.PMTSCookieConsent.hasConsent('analytics').
7. Updates
We may update this Cookie Policy when we add features or change providers. Check the “Last updated” date at the top of this page.
8. Contact
Cookie or privacy questions: pmts@transnzoia.go.ke