Skip to content

Possible double hit with SSR #3

@IlCallo

Description

@IlCallo

Not sure if this actually happens, but when we render a Quasar SSR it may be possible we are firing a page view event, which may then be fired again when executing the app on the client side
In this case, we probably want to avoid executing the tracking script on server and only execute it when on the client

This can be done by adding another short circuit condition here:

if (process.env.NODE_ENV === "development") {

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