BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
13.01k stars 432 forks source link

[🐞] Post integrating partytown, GA shows attributions being dropped. #482

Open topcoder87 opened 11 months ago

topcoder87 commented 11 months ago

Describe the bug

we integrated partytown to offload GTM to secondary threads. Although we are seeing the needed improvements in overall performance, the forwarded GTM events are reporting a missing attribution. Since we are very dependent on attributions to identify the source of the transaction etc.., this is becoming problematic for us.

Is there a way we can work around this one ?

Reproduction

does not need one

Steps to reproduce

  1. setup GTM to run on secondary worker thread using partytown
  2. check the google analytics dashboard to see attributions missing post implementation

Browser Info

chrome, firefox, safari

Additional Information

No response

gioboa commented 11 months ago

Thanks for the report, would you like to create a PR for that?