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

Update for Flarum 1.0 #35

Closed clarkwinkelmann closed 3 years ago

clarkwinkelmann commented 3 years ago

No major changes.

I have dropped the FoF Components package which wasn't used anymore.

I renamed the texts that mentioned Piwik to use Matomo. I have not renamed the internal settings and classNames, I don't think it's really worth the effort.

I updated the base JS code for Matomo with their new template (basically replaces piwik text with matomo as well)

I made a few changes to the naming of the javascript to make it more clear the old "page" is no longer a page but a widget at the top of the extension page.

I have tested GA and Matomo locally.

Ideally we should rename all of the translations, both for the piwik=>matomo change and the fact there's no longer any popup. But that would require all translators to update...

Confirmed