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

Patch analytics pageLoad event for now #2043

Merged
merged 1 commit into from Apr 3, 2024
Merged

Conversation

visnup
Copy link
Member

@visnup visnup commented Apr 3, 2024

This actually isn't correct either, but restores the previous behavior that it seems to rely on. The current code watches router.route, but after an async import which means it actually misses the first actual page load and doesn't fire anything. A subsequent navigation counts as the first pageLoad.

I'll have a better fix soon, but wanted to restore the previous behavior in the meantime.

@visnup visnup requested a review from Fil April 3, 2024 22:52
@visnup visnup enabled auto-merge (squash) April 3, 2024 22:54
Copy link
Contributor

@tophtucker tophtucker left a comment

Choose a reason for hiding this comment

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

👍

@visnup visnup merged commit 210b0d2 into main Apr 3, 2024
1 check passed
@visnup visnup deleted the visnup/analytics-pageload branch April 3, 2024 23:09
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.

None yet

2 participants