Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverside Analytics by Posthog #73

Merged
merged 6 commits into from
Aug 13, 2024
Merged

Serverside Analytics by Posthog #73

merged 6 commits into from
Aug 13, 2024

Conversation

coreyja
Copy link
Owner

@coreyja coreyja commented Aug 13, 2024

We want to track some product metrics in Posthog, BUT I do not want to add JS to my site, especially third party JS

So instead we are going to do server-side only!

Comment on lines -49 to -53
navigator.serviceWorker.getRegistrations().then(function(registrations) {
for(let registration of registrations) {
registration.unregister();
}
});
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its been a full year since my old blog that registered this service worker

Hopefully this was enough time for anyone with it still registered to visit and get it removed 🤞

@coreyja coreyja marked this pull request as ready for review August 13, 2024 02:38
@coreyja coreyja merged commit 0476665 into main Aug 13, 2024
6 checks passed
@coreyja coreyja deleted the ca/main/posthog branch August 13, 2024 02:42
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