Skip to content

Send pageviews on first interaction, rather than page load - #900

Open
arp242 wants to merge 2 commits into
mainfrom
interact
Open

arp242 wants to merge 2 commits into
mainfrom
interact

Conversation

@arp242

@arp242 arp242 commented Jun 21, 2026

Copy link
Copy Markdown
Owner

This is what Bear Blog does apparently. Seems like a good idea.

I think we can remove the visibilityState code now? Not entirely sure actually. Only did a quick test – want to test a bit more.

Copied via
https://github.com/vincentbernat/vincent.bernat.ch/blob/latest/content/media/js/luffy.00-analytics.js

This is what Bear Blog does apparently. Seems like a good idea.

I *think* we can remove the visibilityState code now? Not entirely sure
actually. Only did a quick test – want to test a bit more.

Copied via
https://github.com/vincentbernat/vincent.bernat.ch/blob/latest/content/media/js/luffy.00-analytics.js
Comment thread public/count.js Outdated
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.

2 participants