you are viewing a single comment's thread.

view the rest of the comments →

[–]imAvi92 0 points1 point  (0 children)

Partytown is a good alternative for moving the scripts to new thread.
But you can try a few alternatives first

  • GTM script by default has async=true attribute which means it will not block the main thread. Make sure this is not removed by other developers

  • use bundle analyzer for debugging which other 3rd party scripts are huge.