FriendsOfFlarum / analytics

A Flarum extension that provides your forum piwik's and google's analytics features
https://discuss.flarum.org/d/1983
MIT License
33 stars 12 forks source link

Page changes not reported in Piwik #10

Closed clarkwinkelmann closed 6 years ago

clarkwinkelmann commented 7 years ago

With Piwik, individual pages and titles are not reported. Every page view is shown with the URL through which the user entered the forum.

Piwik published an interesting article on how to integrate single page applications https://piwik.org/blog/2017/02/how-to-track-single-page-websites-using-piwik-analytics/

clarkwinkelmann commented 6 years ago

Fixed by f814aaa773b70fead2fd722df027190c9753b749

Only urls are updated though. Page names won't match. This probably also an issue with GA. It's complicated to scan for the page title because it's set in config AFTER calling the parent config method, so there's nowhere to reliably extend and have a title defined.