Privacy, GDPR & Cookie Consent

Configure privacy settings, enable cookie consent banners, and ensure GDPR/CCPA compliance for your HugoBlox website.

HugoBlox helps you build privacy-respecting websites. By default, no user data is collected.

If you use third-party integrations (like Google Analytics or Disqus), you may need to display a cookie consent banner for GDPR/CCPA compliance.

Configuration

Enable the built-in consent banner in config/_default/params.yaml:

marketing:
  privacy:
    cookie_consent:
      enable: true
      content:
        message: "This website uses cookies to ensure you get the best experience."
        dismiss: "Got it!"
        link: "Learn more"
        href: "/privacy/"

Privacy Policy

It is best practice to include a Privacy Policy page on your site.

  1. Create the Page Create a file at content/privacy.md.

  2. Add Content Clearly explain what data you collect (if any) and how it is used.

    ---
    title: Privacy Policy
    date: 2023-10-18
    ---
    
    We value your privacy...
  3. Link to It Add a link to your privacy policy in your footer or the cookie consent banner.

Third-Party Services

Enabling third-party services like Google Analytics, Disqus, or Maps will likely set cookies on your visitors' devices. Ensure you disclose this in your privacy policy.

Privacy-First Alternatives

Consider using privacy-friendly alternatives supported by HugoBlox:

  • Analytics: Pirsch, Fathom, or Plausible instead of Google Analytics.
  • Comments: Giscus instead of Disqus.
  • Search: Built-in Pagefind search (local) instead of Algolia.

Was this page helpful?

From the makers of

© 2026 Lore Labs.

On this page