Cookie Policy

Last updated: May 21, 2026

Website Owner:

Andrea Piani
Email: andreapiani.dev@gmail.com

This Cookie Policy explains what cookies are, how we use them on the website www.andreapiani.com, which types of cookies are present, and how you can manage or disable them.

1. What Are Cookies?

Cookies are small text files that visited websites send to the user's device (computer, smartphone, tablet), where they are stored to be retransmitted to the same websites on the next visit.

Cookies allow to:

  • โœ“ Remember your preferences and settings
  • โœ“ Improve the browsing experience
  • โœ“ Collect anonymous traffic statistics
  • โœ“ Make the website work properly

2. Types of Cookies Used

๐Ÿ”ง Necessary Technical Cookies (DO NOT require consent)

These are essential cookies for the website to function. Without these cookies, some functionalities cannot be provided. According to the Italian Data Protection Authority Provision no. 229/2014, they do not require user consent.

Cookie Name Purpose Duration
cookie_consent Stores your cookie preferences (consent/refusal) 12 months

Note: the public front-end of the Site does not use server-side session cookies (PHPSESSID); PHP sessions exist only inside the /admin/ area reserved to the Owner.

๐Ÿ“ˆ First-party aggregate statistics (consent-exempt)

In accordance with the Italian DPA Guidelines of 10/06/2021 ยง7.1 and Recital 26 GDPR, the Site uses a first-party server-side analytics endpoint (/api/log-event.php, hosted on the same domain) that records only aggregate, pseudonymous statistics โ€” and is therefore exempt from prior consent.

Tool Technology Data collected Identifier
/api/log-event.php POST fetch() / sendBeacon (no cookie) Page URL, device (mobile/desktop), screen size, browser language, referrer, truncated user-agent, timestamp SHA-256 hash of the IP with a secret salt (irreversible, not traceable to the original IP)
sessionStorage: aaiPV_<path> sessionStorage (client-side only, never transmitted) Timestamp of last page view, used to deduplicate counts within 30 minutes No user ID

Aggregate data is retained 90 days on the Owner's server (weekly automated purge) and is never shared with third parties. No cookie is set for these statistics.

๐Ÿ“Š Third-party analytical cookies (require consent)

No third-party analytical tools (e.g. Google Analytics) are currently active on the Site. The cookie banner shows the "Accept All / Necessary Only" choice as a technical readiness for a possible future activation. If a third-party analytics service is ever activated, this Cookie Policy will be updated and the banner will be re-presented to collect a new explicit consent under Art. 6.1.a GDPR.

3. Third-Party Cookies

Some cookies are installed by third-party services that appear on our pages:

Service Purpose Privacy Policy
Site hosting provider Shared PHP/MySQL web hosting of andreapiani.com (Italy/EU) Available on request from the Owner
Formspree Contact/quote form management Link
Google Fonts Font loading (may set cookies) Link

Note: We do not have direct control over third-party cookies. We invite you to consult their respective privacy policies.

4. Legal Basis (GDPR)

  • Technical Cookies: Controller's legitimate interest (Art. 6.1.f GDPR) - do not require consent (Italian DPA Provision 229/2014)
  • Analytical Cookies: User's explicit consent (Art. 6.1.a GDPR) via cookie banner

5. How We Manage Your Consent

When accessing the website, you see a cookie banner that allows you to:

  • โœ… Accept all cookies (technical + analytical)
  • โŒ Reject non-essential cookies (only technical, no tracking)
  • โš™๏ธ Customize preferences (choose individually)

Your consent is stored for 12 months via the technical cookie cookie_consent. You can modify your preferences at any time using the "Manage Cookies" link at the bottom of the page.

6. How to Disable Cookies

6.1 Via the Website Banner

Use our cookie banner (on first access) or click on "Manage Cookies" in the footer to modify your preferences.

6.2 Via Browser Settings

You can disable cookies directly from your browser settings:

  • Chrome: Settings โ†’ Privacy and security โ†’ Cookies and other site data
  • Firefox: Options โ†’ Privacy & Security โ†’ Cookies and site data
  • Safari: Preferences โ†’ Privacy โ†’ Block all cookies
  • Edge: Settings โ†’ Cookies and site permissions โ†’ Cookies and site data

โš ๏ธ Warning: Completely disabling cookies may prevent some parts of the website from functioning correctly (e.g., multi-step forms).

6.3 Third-party analytics opt-out

No third-party analytics tools are currently active on the Site (see ยง2). Should Google Analytics be activated in the future, you can install the official opt-out browser add-on:
https://tools.google.com/dlpage/gaoptout

7. Cookies and Mobile Devices

If you browse from smartphone/tablet, you can manage cookies via:

  • iOS (Safari): Settings โ†’ Safari โ†’ Privacy & Security โ†’ Block cookies
  • Android (Chrome): Settings โ†’ Site settings โ†’ Cookies

8. Cookie Duration

There are two duration categories:

  • Session storage: Automatically deleted when you close the browser tab (e.g., aaiPV_*, aai_sid, aai_csrf)
  • Persistent cookies / localStorage: Remain on the device for a defined period (e.g., cookie_consent for 12 months, andreaAiConsent until revocation)

9. Updates to the Cookie Policy

This Cookie Policy may be updated periodically. Changes will be published on this page with date update. We invite you to consult it regularly.

10. Contact

For questions about this Cookie Policy or to exercise your rights:

Andrea Piani
Email: andreapiani.dev@gmail.com
Phone: +39 351 624 8936

For information on personal data protection, see our Privacy Policy.

โ† Back to Homepage