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?
No description
1 Reply
Joey
Joey8mo ago
I've been wondering this myself as well. Does it not work if you install the
@nuxtjs/partytown
@nuxtjs/partytown
module and add
type="text/partytown"
type="text/partytown"
to the script?
Want results from more Discord servers?
Add your server