hyn/analytics ; google analytics website statistics
Successful install-
I use Piwik so I guess I can't use it yet, but this is a useful plugin!
Installed but doesnt appear on Extensions List?
i used composer to install extension and its under vendor/hyn directory not in Extensions
.
Red then you need to edit your composer.json and change flarum/composer-installer
to *
, see: https://discuss.flarum.org/d/1479-problem-with-extensions-not-installing-nov-2015
- Edited
Fixed, Thank you.
I installed this plugin and it works. But somehow it seems only to fire a pageview at the load of the forum front page. When I click a post, it doesn't seem to fire a pageview. I'm not sure if this is because the plugin is built like that or I did something wrong.
I know Flarum actually doesn't load a new page when navigating the forum since everything loads with ajax, but to use Analytics effectively, we need a faux pageview to be fired at the click of a post and at the click of a category. I guess this can be done easily by firing a pageview each time the URL changes.
Thanks again for providing this extension. I hope you can use the feedback.
Jahman we need a faux pageview to be fired at the click of a post and at the click of a category. I guess this can be done easily by firing a pageview each time the URL changes.
The url actually also changes when scrolling. I think I can handle this by listenening to a m.redraw()
event, not sure that's even possible though, will look into it.
- Edited
I had a small problem with hyn/flarum-analytics, but it has been fixed, so I delete my posts on the subject, they are no longer meaningful.
Any errors in the console or in your logs?