<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Analytics on Kliku Kliku</title><link>https://klikukliku.dev/tags/analytics/</link><description>Recent content in Analytics on Kliku Kliku</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 23 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://klikukliku.dev/tags/analytics/index.xml" rel="self" type="application/rss+xml"/><item><title>Google Tag Manager in the Hugo Ecosystem</title><link>https://klikukliku.dev/posts/google-tag-manager-in-hugo/</link><pubDate>Tue, 23 Dec 2025 00:00:00 +0000</pubDate><guid>https://klikukliku.dev/posts/google-tag-manager-in-hugo/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I recently worked on adding analytics to a Hugo project. Usually, adding a tracking script takes just five minutes. But doing it the right way is a different story. If we want it to be fast and respect user privacy, it becomes a more interesting challenge.&lt;/p&gt;
&lt;p&gt;Below, I have shared my notes and a step-by-step guide for Google Tag Manager and Google Analytics 4. I focused on keeping the code clean. I also made sure the Cookie Consent really works, rather than just looking like it does.&lt;/p&gt;</description></item></channel></rss>