Skip to content

Not sure issue with ReactGA.send( #84

@aaronucsd

Description

@aaronucsd

Seems like if you put
ReactGA.send({ hitType: "pageview", page: "/demo/dedicated", title: "dedicated dashboard page" }); outside of the page view (per route) it will update all the custom page views. Not sure this is a bug or do we need to put this call inside the component const DedicatedHomeView = () => {} definition and maybe in the React.useEffect(() => {, []}? SO it called once on page / component load?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions