Skip to content

Use Partytown to load analytics in background worker #206

@roman-koshchei

Description

@roman-koshchei

Partytown will allow offloading your main thread, so pages load faster.
You can check out integration with HTML there: partytown.builder.io/html.
And Google guide: partytown.builder.io/google-tag-manager

image

P.S.:
As well, I would recommend to load youtube videos only after clicking on them, like I do at: roadtovostok.flurium.com. Checkout the repository for more details (you can do it in vanilla js as well): github.com/roman-koshchei/roadtovostok

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp4Low priority, nice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions