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 support #408

Open
ebisbe opened this issue Jan 18, 2024 · 4 comments
Open

PartyTown support #408

ebisbe opened this issue Jan 18, 2024 · 4 comments

Comments

@ebisbe
Copy link
Contributor

ebisbe commented Jan 18, 2024

Request / Idea

Page speed insights is complaining about Google Analytics module blocking the main thread. I figured that Partytown web worker can help avoid blocking the main thread when using analytics.

Is there any chance it could be supported out of the box?

Additional Context

Adding a new property to tell the set up to use partytown.
https://partytown.builder.io

@Shinigami92
Copy link
Contributor

I suggest checking out the repo / create a fork with PR and explore if it is possible.
If you found any solution, you can open a PR in this or the core repo

@IgorHalfeld
Copy link

I just read the source code and found this

Pass a scriptType field to the options with text/partytown

@Shinigami92
Copy link
Contributor

I just read the source code and found this

Pass a scriptType field to the options with text/partytown

Does this mean it can be closed?

@ebisbe
Copy link
Contributor Author

ebisbe commented Aug 4, 2024

It seems so. But I first should try it. I honestly forgot about this and don't have all the details on my head.

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

3 participants