Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
3 posts found #ga4
Measuring SEO: Which Question, Which Data? Why Search Console, GA4, Server Logs and CrUX Disagree
SEO & GEO PART 01

Measuring SEO: Which Question, Which Data? Why Search Console, GA4, Server Logs and CrUX Disagree

Search Console, GA4, server logs and CrUX count different parts of the same visit, so they give different numbers; the right number depends on the question you ask. We cover the question-metric-source mapping, why the numbers disagree, C# code that separates Google traffic in logs using Google's Referer rules, and the measurement options for mertozen.com.

15 Nov 2026 10 min 6
Measuring On-Site Behavior with GA4: The Event Model, page_view in an Angular SPA, Custom Events and Key Events
SEO & GEO PART 04

Measuring On-Site Behavior with GA4: The Event Model, page_view in an Angular SPA, Custom Events and Key Events

In an Angular SPA you send page_view either through enhanced measurement's history tracking or by hand, never both; if you send it by hand, do it inside a TitleStrategy, because the router writes the title after NavigationEnd. We cover GA4's event model, key events, gtag with a CSP nonce in Razor pages, events that matter for a blog and Measurement Protocol code that sends no personal data.

15 Nov 2026 11 min 5
Privacy and Consent in Analytics: The KVKK Cookie Guide, Consent Mode and Cookieless Alternatives
SEO & GEO PART 05

Privacy and Consent in Analytics: The KVKK Cookie Guide, Consent Mode and Cookieless Alternatives

You do not load the analytics tag before consent, and when the consent rate changes, GA4's number drops without any change in traffic; you tell them apart with a source consent does not affect. We cover what the KVKK cookie guide means for measurement, ITrackingConsentFeature in ASP.NET Core, consent-gated loading in Angular, basic vs advanced Consent Mode, the 2026 change and cookieless alternatives. Not legal advice.

15 Nov 2026 11 min 7
Blog Map