Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.
This repository was archived by the owner on May 22, 2019. It is now read-only.

Unable to track changes in page name #83

@mikegoatly

Description

@mikegoatly

Version: 3.0.0-rc.6

I noticed that every page view was being tracked with the same page name - it didn't take long to realise it was because I wasn't changing the <title> of the page, and it looks like AI is using the current page title as the name.

I'm using react-router and that doesn't seem to have a mechanism to set the page title.

I've tried to use react-helmet to set the title when a component is loaded, but it seems this is too late and the page title has already been captured to send with the telemetry.

Has anyone else come up with an approach that will allow for the page title to be updated when a route changes and be captured correctly in page view analytics?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions