43 lines
4.5 KiB
HTML
43 lines
4.5 KiB
HTML
<!DOCTYPE html><html lang="en" dir="ltr"> <head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Cookies</title><meta name="description" content="This site uses no cookies; the only local storage is your analytics choice, and analytics loads only after you opt in."><link rel="canonical" href="https://validationlab.eu/cookies/"><link rel="alternate" hreflang="en" href="https://validationlab.eu/cookies/"><link rel="alternate" hreflang="x-default" href="https://validationlab.eu/cookies/"><meta property="og:title" content="Cookies"><meta property="og:description" content="This site uses no cookies; the only local storage is your analytics choice, and analytics loads only after you opt in."><meta property="og:url" content="https://validationlab.eu/cookies/"><meta property="og:type" content="website"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary"><script type="application/ld+json">{"@context":"https://schema.org","@type":"Service","serviceType":"Innovation hub programmes","provider":{"@type":"Organization","name":"Validation Lab","url":"https://validationlab.eu"},"areaServed":"EU","url":"https://validationlab.eu/cookies/","description":"This site uses no cookies; the only local storage is your analytics choice, and analytics loads only after you opt in."}</script><script>(() => {
|
||
// Cookie-gated analytics: nothing loads until the visitor opts in,
|
||
// and the choice is remembered in localStorage.
|
||
const banner = document.getElementById("cookie-consent");
|
||
if (!banner) return;
|
||
const KEY = "vl-consent";
|
||
const STATS_URL = "REPLACE_STATS_SCRIPT_URL";
|
||
const STATS_ID = "REPLACE_STATS_WEBSITE_ID";
|
||
const injectStats = () => {
|
||
if (STATS_URL.indexOf("REPLACE_") === 0 || document.getElementById("vl-stats")) return;
|
||
const s = document.createElement("script");
|
||
s.id = "vl-stats";
|
||
s.defer = true;
|
||
s.src = STATS_URL + "";
|
||
s.setAttribute("data-website-id", STATS_ID);
|
||
document.head.appendChild(s);
|
||
};
|
||
const decide = (allow) => {
|
||
try { localStorage.setItem(KEY, allow ? "granted" : "denied"); } catch {}
|
||
banner.remove();
|
||
if (allow) injectStats();
|
||
};
|
||
banner.addEventListener("click", (event) => {
|
||
const b = event.target.closest("button");
|
||
if (!b) return;
|
||
decide(b.dataset.answer === "yes");
|
||
});
|
||
let stored = null;
|
||
try { stored = localStorage.getItem(KEY); } catch {}
|
||
if (stored) {
|
||
banner.remove();
|
||
if (stored === "granted") injectStats();
|
||
}
|
||
})();</script><link rel="stylesheet" href="/_astro/cookies.a9D3y7n-.css"></head> <body> <header class="site-header"> <nav> <a class="brand" href="/">Validation Lab</a> <a href="/cookies/" aria-current="page">Cookies</a> <label class="switcher"> <span aria-hidden="true">Read this page in:</span> <select aria-label="Language" onchange="const u=new URL(this.value, location.origin); location.href = u.href;"> <option value="https://validationlab.eu/cookies/" selected> English </option> </select> </label> </nav> </header> <main> <p><strong>DRAFT — this notice needs review before launch.</strong></p>
|
||
<p>This website sets no cookies of any kind. The only thing stored in your
|
||
browser is a single local entry recording your answer to the analytics
|
||
banner (allow / decline) so we don’t ask you again.</p>
|
||
<p>The analytics itself is a self-hosted, privacy-first tool on our own
|
||
server. It is not loaded — not even its script — until you explicitly
|
||
allow it, and no third-party trackers or advertising networks run on this
|
||
site.</p> </main> <footer> <p>Guided validation for early-stage startups — from Business Model Canvas to validated learning.</p> <p> <a href="/privacy/">Privacy</a> ·
|
||
<a href="/cookies/">Cookies</a> ·
|
||
<a href="/admin/">This site is editable in the browser at /admin/ — no git knowledge required.</a> </p> <p>Hosted on EU infrastructure (Aruba, Italy).</p> </footer> <div id="cookie-consent" role="region" aria-label="We use a self-hosted, privacy-first analytics tool to understand which pages and languages matter. Nothing is loaded until you opt in."> <p>We use a self-hosted, privacy-first analytics tool to understand which pages and languages matter. Nothing is loaded until you opt in.</p> <button data-answer="yes">Allow analytics</button> <button data-answer="no">Decline</button> </div> </body></html> |