Ubiquity is happy to have released a new plugin that may be of interest to Journal Managers and Journal Editors. The ‘Site Usage’ plugin creates a new page within the Statistics menu of the backend of OJS, where the journal can embed a metrics dashboard that is provided by a third-party metrics service. For Ubiquity, we’re using Plausible.io (see here for why) but the functionality should be the same for other services that provide embedding code.
I missed to say that I like a lot the way you implemented this.
A free text area to embed “whatever you like” opens the door to nice hacks like… an intro text… JS combinations… css theming.
Thinking that plugin could be easily extended to be even more generic, letting users decide what label to show… so it could be used with plausible or with other tools you like to integrate.
Yes, in practice you could add whatever you like - as you say, when embedding the site usage dashboard, it can easily include an introduction, instructions etc to also include on this page.
Hi, I ran into a blank page error after installing the plugin on OJS 3.3.0.14.
Below is the error log:
PHP Notice: Undefined index: certification in /journals/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in /journals/plugins/blocks/mostRead/MostReadBlockPlugin.inc.php on line 70
@supreme we’ve had someone look into this can they don’t think it is linked to this plugin.
The code is in another plugin MostReadBlockPlugin (which I guess is an outdated version of that plugin) We don’t have this line PKPApplication::getRequest() anywhere in the code for the Site Usage plugin, which would break it. I think that the issue is with MostReadBlockPlugin.inc.php