Cookie Policy
1. Categories
Strictly necessary: sign-in, security, your donation draft and your consent record. Always on, because the site cannot work without them.
Analytics: a first-party random browser ID and the events linked to it. Off until you accept. Without consent we only count visits with no lasting ID. We also honour Do Not Track and Global Privacy Control.
Preferences: install-prompt and notification state.
There is no marketing or advertising category, because we use no ad trackers and no third-party cookies.
2. What we store
| Name | Where | Purpose | Category | Duration |
|---|---|---|---|---|
| sb-…-auth-token | localStorage | Keeps you signed in (NGO, donor and admin accounts) | Strictly necessary | Until you sign out (token refreshes hourly) |
| dab.consent | localStorage | Remembers your storage choices, version and date | Strictly necessary | 12 months |
| dab.wizard.<event> | localStorage | Saves your unfinished donation so you can continue | Strictly necessary | 7 days |
| dab.track.<reference> | localStorage | Lets you reopen your donation status and receipt on this device | Strictly necessary | Until you clear it |
| dab.receipt.<donation> | sessionStorage | Shows your receipt right after donating | Strictly necessary | Until the tab closes |
| dab.device | localStorage | Anti-fraud and duplicate-claim protection on donations | Strictly necessary | Until you clear it |
| dab.donorToken | localStorage | Keeps you signed in to My donations after phone verification | Strictly necessary | Until you sign out |
| dab.org | localStorage | Remembers which NGO workspace you opened | Strictly necessary | Until you clear it |
| dab.ref.<event> / dab.campaign.<event> | sessionStorage | Remembers how you reached a fundraiser (WhatsApp, QR, embed) for the NGO's totals | Strictly necessary | Until the tab closes |
| dab.started / dab.click.<event> | sessionStorage | A simple yes/no flag so one visit is not counted twice (no identifier) | Strictly necessary | Until the tab closes |
| dab.home.preview | localStorage | Admins only: holds unsaved homepage changes for the Preview button | Strictly necessary | Until the next preview |
| tsr-scroll-restoration-v1_3 | sessionStorage | Restores your scroll position when you go back | Strictly necessary | Until the tab closes |
| Service worker and offline cache | Cache storage | Installed app: loads pages, fonts and images quickly and offline. Never caches payment, claim, sign-in or admin data | Strictly necessary | Replaced on each app update |
| dab.analytics.visitor / dab.visitor | localStorage | Random browser ID for first-party visit counts (no IP stored) | Analytics | 90 days |
| dab.analytics.session / dab.session / dab.vitals.id | sessionStorage | Groups page views and speed measurements into one visit | Analytics | Until the tab closes |
| dab.visits / dab.visit.counted | localStorage | Counts visits to decide when to suggest installing the app | Preferences | Until you clear it |
| dab.installed / dab.firstStandalone | localStorage | Remembers if you installed the app | Preferences | Until you clear it |
| Push subscription | Push subscription | Sends the notifications you turned on; managed by your browser | Preferences | Until you turn notifications off |
3. Your choices
Use “Cookie settings” in the footer or the More tab to change your choice at any time. We keep your choice for 12 months, then ask again, and we ask again whenever this policy's version changes.
4. Contact us
Hum Mashal-e-Rah Foundation, registration number [to be added], [to be added].
Email: support@donateabrick.com. WhatsApp: [to be added]. Grievance contact: [to be added].
