Integrating Cloudflare Workers + Google Analytics Pageviews in Hugo Blog

Background As a Hugo static blog hosted on Cloudflare Pages, I’ve always wanted to display real pageview data on article pages. But the problem is: Google Analytics gtag.js can only “write” data, can’t “read” historical data Static blogs have no backend, can’t directly call GA4 Data API Don’t want to depend on third-party services (like Busuanzi), want complete control over data After research, I chose the Cloudflare Workers + Google Analytics Data API solution, which perfectly solved this problem. ...

2025-11-04 · 7 min · geekhuashan

AI Era SEO Optimization Practices: Making Your Blog Visible to AI Agents

Background In 2025, AI is changing how we access information. When users ask ChatGPT questions, search with Perplexity, or see Google’s AI Overview, the rules of traditional SEO have changed. Key Statistics: 13.14% of Google searches now trigger AI Overview (March 2025, doubled from 6.49% in January) Pages with Schema markup are 36% more likely to be cited by AI Gartner predicts traditional SEO traffic will decline 25% due to AI chatbots AI crawler timeouts are typically 1-5 seconds, requiring fast responses As a technical blog maintainer, I realized: if my content cannot be understood and cited by AI Agents, its future visibility will significantly decline. ...

2025-11-03 · 9 min · geekhuashan