Sign up

Static sites

Clearlook on a plain HTML site or a static site generator (Astro, Hugo, Eleventy, Jekyll).

  • The tag goes in the shared layout's <head> so every page has it once: Astro src/layouts/*.astro, Hugo layouts/partials/head.html or baseof.html, Eleventy and Jekyll the base layout, plain HTML every page.
  • Nothing else is needed for visits, sources, pages and countries.
  • Goals: a click that matters gets onclick="platform.capture('Downloaded brochure')", or a goal set up in the dashboard on a page path, with no code.
  • Outbound links and downloads are counted when the tag has data-outbound="true" and data-downloads="true" (both off by default). They arrive as outbound_link and file_download.
  • Pitfall: a host-level Content-Security-Policy (Netlify _headers, Vercel vercel.json) needs https://app.clearlook.dev in script-src and connect-src.