Open TuomasPakkanen opened 6 years ago
@TuomasPakkanen I have slightly updated this solution to track pages where a full load doesn't happen. Feel free to give it a try https://joelfmrodrigues.wordpress.com/2019/01/10/add-google-analytics-to-sharepoint-modern-pages/
Some of the navigation on modern pages happens so that the browser does not load the whole page again on page load. This causes some user navigation to not get tracked with this code.
Could you update the code so that it would also track when user navigates between different pages on the modern site? Now it tracks only the first load, maybe a bit depending which navigation element is clicked.