Skip to content

Analytics & Traffic Tracking

Understand your audience and grow your site with integrated analytics. HugoBlox supports privacy-focused options like Pirsch and Fathom, as well as industry standards like Google Analytics.

Pirsch

Recommended. Privacy-first, lightweight, and best value. No cookie banner required. Get Pirsch

Fathom

Simple, privacy-focused analytics. No cookie banner required. Get Fathom

Plausible

Open source, privacy-friendly analytics. No cookie banner required. Get Plausible

Add your tracking ID to config/_default/params.yaml:

hugoblox:
analytics:
pirsch:
site_id: 'YOUR_SITE_ID'
  1. Check Environment: Ensure your site is deployed or running in production mode (HUGO_ENV=production hugo server).
  2. Verify ID: Double-check that your tracking ID matches the one in your analytics dashboard.
  3. Ad Blockers: If you don’t see data, check if your ad blocker is preventing the script from loading.