Cookie Policy
Last updated
We group cookies and storage into four categories. Strictly necessary storage is always on. Advertising is off by default everywhere. Analytics is off until you opt in in the EEA, UK, Switzerland and Quebec, and on by default (you can opt out) elsewhere, including the US.
| Name | Provider | Category | Purpose | Duration |
|---|---|---|---|---|
dcl_prefs (local storage) | DIYCalcLab | Preferences | Units, region, theme | Until cleared |
dcl_projects (local storage) | DIYCalcLab | Preferences | Project material lists you save on this device. Not sent to a server. A copy of an unreadable file may be kept as dcl_projects_unreadable. | Until you delete it or clear site data |
dcl_consent (local storage) | DIYCalcLab | Strictly necessary | Remembers your cookie choice | Until cleared / 12 months |
| Service worker cache | DIYCalcLab | Strictly necessary | Lets calculators work offline | Until updated |
__gads, __gpi, __eoi (planned) | Google AdSense | Advertising | Ad delivery, frequency, measurement | Up to 13 months |
_ga | Google Analytics 4 (first-party cookie on diycalclab.com) | Analytics | Distinguishes visitors with a random ID so we can count users and sessions | 2 years |
_ga_NDKPRTSTSZ (_ga_*) | Google Analytics 4 | Analytics | Keeps session state (session count, timestamp) for our GA4 property | 2 years |
Consent Mode
Before the Google tag runs, our pages set Google Consent Mode v2 defaults. ad_storage, ad_user_data and ad_personalization are “denied” everywhere. analytics_storage is “denied” in the EEA, UK, Switzerland and Quebec (and for any browser sending GPC) and “granted” elsewhere. Your choice in Cookie settings overrides these defaults.
Google Analytics 4
We use Google Analytics 4 (measurement ID G-NDKPRTSTSZ) to see which calculators and guides are used, how visitors find them and whether pages work well — aggregate usage statistics only. We don't use it for advertising; our tag turns off Google signals and ad-personalization signals.
Opt-in regions (EEA, UK, Switzerland, Quebec): we show a cookie banner. Until you choose “Accept all”, or turn on Analytics under “Manage options”, no _ga cookies are set; the Google tag may send cookieless pings without identifiers.
Other regions, including the US: analytics runs by default with the _ga cookies. To opt out, use “Cookie settings” or “Your Privacy Choices” in the footer and untick Analytics (or choose “Reject all”): we update the consent signal to “denied”, delete the _ga cookies and remember the choice. A Global Privacy Control signal is treated as an opt-out automatically.
Google processes this data as described at policies.google.com/technologies/partner-sites. You can also block it with Google's opt-out browser add-on.
Global Privacy Control
If your browser sends GPC, we treat it as an opt-out of analytics and of personalised advertising.