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
Propagate pushState/replaceState inside worker #172
Conversation
…opagation back to main thread
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a great addition to the library along with some cleanup.
@steve8708 @adamdbradley any progress on this? This is blocking us from using Partytown |
I'm curious about this as well. |
@adamdbradley this doesn't seem to work for GA 4 Enhanced Measurement Browser History Events (pop/push state) |
Hey I was investigating issue with GTM inside next.js app. I noticed that tag manager assigns custom pushState/replaceState to forward history changes on SPA. However, Partytown never forwards those calls to worker.
An issue describing this problem was already reported here: #165
This MR fixes the problem.