Cookie Policy

Last updated: August 2026.

What this site uses

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.

NameTypeProviderPurposeDuration
portfolio-themeLocal storage (necessary)This siteRemembers your light/dark theme choicePersists until removed by you or your browser (observed: no expiry)
portfolio-consent-v2Local storage (necessary)This siteStores your analytics consent choicePersists until removed by you or your browser (observed: no expiry; set only after you make a choice)
_gaAnalytics cookie (only after consent)Google LLC (via Google Analytics 4)Distinguishes unique users; enables usage statisticsObserved: 400 days from first set (domain .kamalshmaissani.com, path /)
_ga_SBZDYYRZCDAnalytics cookie (only after consent)Google LLC (via Google Analytics 4)Persists session state for the GA4 property G-SBZDYYRZCDObserved: 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.

Analytics

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).

Changing your consent

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.

More information

See the Privacy Policy for details on how data is handled, and the Legal Notice for site ownership information.