u/Beginning_Space_1651

▲ 1 r/Notion

Been using Notion for team docs and a few public-facing pages — product roadmap, API docs, a hiring guide. For the longest time I had zero idea whether anyone actually read them or if I was just publishing into the void.

A few months ago I added an embed-based page tracker and finally got real data. Some things that genuinely surprised me:

- The API docs got way more views than expected — people are reading it without telling us

- Traffic drops ~90% on weekends (makes sense in retrospect, but I never thought about it)

- Roughly half our visitors are from countries I never expected

- Average time on the hiring page: 74 seconds. That's not great

The roadmap was the most-read page by far, which told us we should probably be updating it more often than we were.

Anyone else tracking analytics on their public or shared Notion pages? Curious what approach others take — Google Analytics embeds don't really work inside Notion, so it's a bit of a puzzle.

(Happy to share what I ended up using if anyone's curious)

reddit.com
u/Beginning_Space_1651 — 12 days ago
▲ 3 r/Notion

I spent way too long trying to get Google Analytics to fire on a published Notion page before I finally understood why it cannot work — and I keep seeing the same question in this sub, so here is the full explanation.Why GA, Plausible, and Fathom do not work on stock Notion published pages:Notion's published-page renderer strips script tags from page content. This is intentional, not a bug. There is no custom HTML block on a published Notion page. Whatever snippet you paste in — GA, Plausible, Fathom — Notion removes it at render time. None of those events ever fire.What actually works — the embed block:Notion's embed block renders as an iframe, and iframes are allowed. A third-party URL inside an iframe can run JavaScript freely. That is how Notion-native analytics tools work: they serve a tiny tracking page you embed, the embed fires when it loads, and the view gets recorded on their server.The exception — custom-domain proxies:If you run Notion through Super.so, Potion, Oopy, or Typedream, those render Notion as real HTML at your own domain. You can inject any site-wide script in their settings, and GA or Plausible work normally. The catch is paying $12-39/mo for the proxy.TL;DR:- Stock notion.site publish: script tags stripped, only iframe-based analytics work- Custom-domain proxy: full HTML, any analytics works- The embed block is the only supported way to run code inside a stock Notion pageHappy to answer questions on the technical side.

u/Beginning_Space_1651 — 12 days ago