Skip to content

Count visits to the demo - #8

Merged
cobanov merged 1 commit into
mainfrom
feat/demo-analytics
Aug 30, 2026
Merged

Count visits to the demo#8
cobanov merged 1 commit into
mainfrom
feat/demo-analytics

Conversation

@cobanov

@cobanov cobanov commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Adds the self-hosted visit counter the other cobanov.dev pages use, via getopen init.

The CSP had to name oa-c.cobanov.run in script-src and connect-src. Without that the beacon is refused and the page looks perfectly fine while counting nothing, which is the failure mode worth avoiding.

The image a visitor drops still never leaves the tab; the counter is the only endpoint the page is allowed to reach at all.

The same self-hosted instance the other cobanov.dev pages report to, added
with getopen init. The CSP names it in script-src and connect-src, otherwise
the beacon is refused and the page looks fine while counting nothing.

The image a visitor drops still never leaves the tab: the counter is the only
endpoint the page is allowed to reach.
@cobanov
cobanov merged commit fab0747 into main Aug 30, 2026
11 checks passed
@cobanov
cobanov deleted the feat/demo-analytics branch August 30, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant