WEDNESDAY, JULY 22, 2026 48° E  /  GLOBAL TECH · SUMMARISED SUBSCRIBE
AI, business, devices, policy — global tech, summarised every 30 minutes.
Dev Tools · 1h ago

Decouple Analytics from Deploys: Add Clarity to Hugo via Zaraz

By Meridian48 News Desk · Summarised from DEV Community ·

This guide shows how to add Microsoft Clarity to a Hugo site using Cloudflare Zaraz, avoiding the need to rebuild and redeploy the site for analytics changes. The Clarity script is managed through Cloudflare's Custom HTML tool, not stored in the Hugo repository. Two caveats: Clarity may not appear in Zaraz's native catalog, and a restrictive Content Security Policy may still require manual adjustments.

Meridian48 take
A practical workaround for static-site developers who want to decouple analytics configuration from their build pipeline, though it adds a dependency on Cloudflare's Zaraz platform.
Read the full reporting
Add Microsoft Clarity to Hugo with Cloudflare Zaraz - Without Redeploying →
DEV Community
hugocloudflare-zaraz
More dev tools briefs
Go deeper on dev tools
AllAIStartupsBusinessDevicesPolicySecurityDev ToolsPakistan