Skip to content

Hydration issue with google analytics #500

@HarelM

Description

@HarelM

When using this library with hydration (SSR/SSG) and google analytics provider it seems that there are some timeout calls in the google code that are preventing hydration to finish fast (it takes a 1-2 seconds).
I'm guessing there's a need to wrap the ga method calls with ngZone.runOutsideAngular(...) to resolve this.
I'll be happy to throw a PR to resolve this, but I'm not sure how maintained this library still is.
Any input would be highly appreciated.
Thanks for all the work on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions