Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partytown implementation #53

Open
andrevferreiraa opened this issue Mar 22, 2022 · 2 comments
Open

Partytown implementation #53

andrevferreiraa opened this issue Mar 22, 2022 · 2 comments

Comments

@andrevferreiraa
Copy link

Any idea how to implement @nuxtjs/partytown with this module?

@harsh253
Copy link

Tried to implement what is mentioned at here - https://partytown.builder.io/nuxt but looks like we don't have the support to add/edit type attribute to script tag.

For letting partytown handle the gtag, we need to somehow add type="text/partytown" to the script tag for gtag

@harsh253
Copy link

Also @andrevferreiraa if you look at line 38 at https://github.com/nuxt-community/google-gtag-module/blob/master/lib/module.js , it looks like the module is directly adding script tag to the head along with async option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants