Last updated: August 2026.
This site uses a small amount of local storage and, only with your consent, analytics cookies. This table documents what was actually observed in testing on 2026-08-11 (after the GA4/GTM implementation went live), under three conditions: fresh visitor with no choice made, analytics rejected, and analytics accepted.
| Name | Type | Provider | Purpose | Duration |
|---|---|---|---|---|
| portfolio-theme | Local storage (necessary) | This site | Remembers your light/dark theme choice | Persists until removed by you or your browser (observed: no expiry) |
| portfolio-consent-v2 | Local storage (necessary) | This site | Stores your analytics consent choice | Persists until removed by you or your browser (observed: no expiry; set only after you make a choice) |
| _ga | Analytics cookie (only after consent) | Google LLC (via Google Analytics 4) | Distinguishes unique users; enables usage statistics | Observed: 400 days from first set (domain .kamalshmaissani.com, path /) |
| _ga_SBZDYYRZCD | Analytics cookie (only after consent) | Google LLC (via Google Analytics 4) | Persists session state for the GA4 property G-SBZDYYRZCD | Observed: 400 days from first set (domain .kamalshmaissani.com, path /) |
Testing confirmed: no cookies are set for a fresh visitor who makes no choice, and no cookies are set when analytics is rejected. The two GA4 cookies (_ga and _ga_SBZDYYRZCD) appear only after analytics consent is accepted.
Google Analytics 4, loaded through Google Tag Manager, is used to understand site usage and engagement. It runs only if you accept analytics cookies. Provider: Google LLC. GA4 property-level data retention is 14 months (reset on new activity); this is a property setting, separate from the individual browser cookie lifetimes documented in the table above (observed 400 days).
You can change your choice at any time using the "Cookie settings" option on the site. Essential functions (theme, layout, preferences) continue to work whether or not you accept analytics.
See the Privacy Policy for details on how data is handled, and the Legal Notice for site ownership information.