Skip to content
Maria
Work About Resume
Case Study Cookies Privacy Terms 404
WorkAboutResume
Other
Case StudyCookiesPrivacyTerms404

Cookie Policy

This page explains what the Maria theme stores in the browser, how visitor consent is saved, and how optional categories like analytics or marketing should be handled.

Last updated: May 31, 2026

What This Theme Stores

By default, the theme stores two small browser-based preference records on the visitor's device: the selected color theme and the cookie consent preferences.

These values are saved in localStorage, not sent automatically with each page request, and are used only to remember visitor choices in the current browser.

Consent Categories

The consent interface includes an always-active essential category plus optional analytics and marketing categories.

In the Maria theme, analytics and marketing are placeholders until you connect real tools. The banner and modal still work now, so those tools can be gated behind consent when you add them later.

Stored Keys

maria-theme

Local storage

Essential

Stores whether the visitor last selected light mode or dark mode.

maria-cookie-consent

Local storage

Essential

Stores the visitor's consent version, timestamp, and optional analytics / marketing choices for this browser.

How to Change Preferences

Visitors can reopen the preferences modal any time from the footer's Cookie Preferences button.

You can also open the cookie preferences modal .

Using Consent in Custom Scripts

The theme exposes window.mariaCookieConsent so optional scripts can check whether analytics or marketing is allowed before loading.

It also emits a maria:cookieConsentChanged browser event whenever the visitor saves new choices.

LinkedIn Dribbble
CookiesPrivacyTerms

© 2026 Maria. Sample Astro portfolio theme for presentation purposes.