Partytown + Nuxt3

Is there a way to implement partytown on scripts that are loaded dynamically?

Basically since we have repository for 3 different versions of the website, a lot of site specific data comes from the backend, which includes GTM ID, so the script is loaded after all store configs.
Is it possible to run those scripts in different threads with partytown?
image.png
Was this page helpful?