Open steven-ruiz opened 2 years ago
This only happens for me on particular combinations of Next.js versions and Partytown versions. The combo of Next.js 12.1.6 and partytown 0.6.1 appears to work properly for me.
@misikoff @steven-ruiz can you please share the working code for tracking the events once we run the mixpanel into the webworker, i am able to run it in web worker but not able to access using global window object, can you please help me
Same issue with Remix, realtime events dropped over 90% after migrating Partytown.
All my events from desktop come through but from iOS GA4 does not show most of the realtime information. While debugging network tab, it shows requests going through. Just GA4 registers only inital load events in some weird reason.
EDIT: Reverted Partytown migration and events popped up again within 30 minutes. I'm sorry I cannot provide any more details. It's really hard to guess what is wrong, I'm not aware what's going on under the hood.
Describe the bug
I started using party town to speed up my application, but I noticed that after setting everything up for my 3rd party scripts and loading them within the web worker, tracking events wasn't behaving the same way, I was losing events.
This issue happened using Nextjs + React the configuration was used in a combination of the Script component from NextJs with the worker strategy
To Reproduce Steps to reproduce the behavior:
The second way to verify the lack of tracking events:
Reproduction link Since these are tracking events scripts I don't have a way to reproduce this in an online tool
Expected behavior The intention is to track every event.
Partytown version Partytown V0.6.0