React SPA - GTM Analytics React-Helmet Previous Page Title
问题 I am using Google Tag Manager to push pageview events to the datalayer for Analytics tracking. This is happening in componentDidMount() (and sometimes componentWillReceiveProps() if I am listening for query string parameter changes with the location prop using withRouter). I am using react-helmet to dynamically update my title and other tags as components change. I have noticed an issue that I am getting the improper page title in Analytics. It's frequently showing the page title of the