Piwik-Plugin für OJS 2.4.8.1.?


#1

Gibt es ein PIWIK-Plugin für OJS 2.4.8.1., das mit Piwik in der Version 2.17.1 bzw 3.0.0 kompatibel ist? Wo ist es zu finden und gibt es eine Anleitung dafür?


#2

Hi @Lucht-Roussel,

The Piwik plugin hasn’t yet been rewritten for OJS 3.x. There’s an open issue filed about this; if you’re interested in a 3.x version of the plugin, I’d suggest signing up for notifications there.

Regards,
Alec Smecher
Public Knowledge Project Team


#3

Good morning Alec,

thank you very much for your answer. I’m looking for a current version of the plugin for OJS 2.4.8.1, which ist compatible with PIWIK 2.17 or 3.0. Is there a instruction how to get it to run?

Regards,
Kathrin


#4

Hi @Lucht-Roussel,

The plugin is included in the OJS 2.4.8-1 distribution; it’s a “generic” plugin.

Regards,
Alec Smecher
Public Knowledge Project Team


#5

Hi Alec,

we already have the Piwik-Plugin installed and configured.
An instance of Piwik (version 3.0.0) is installed beneath the OJS-installation.

The problem seems to be that the Piwik-Plugin doesn’t seem to interact with the Piwik-installation.
There is a difference between the Piwik-Codes in the Piwik-Plugin and the Piwik-installation.

The Piwik-installation tells us to put in the following code:

-----8<----------------------------------------------------------------

------------------------------------------------------->8--------------

But the Piwik-Plugin has the following code inside the PiwikPlugin.inc.php:

-----8<----------------------------------------------------------------
’’.

’.
’’;
------------------------------------------------------->8--------------

We already tried to replace the code inside the Piwik-Plugin with the Piwik-installation-suggested one. But the Piwik-installation still tells us, that there were no visitors on our OJS-Site.
Could you give us an advise on how to get it work together?

Regards,
Kathrin


#6

I’m sorry, I try it again:

We already tried to replace the code inside the Piwik-Plugin with the
Piwik-installation-suggested one. But the Piwik-installation still tells
us, that there were no visitors on our OJS-Site.
Could you give us an advise on how to get it work together?

Thank you! Regards,
Kathrin


#7

Hi @Lucht-Roussel,

With either code in place, I’d suggest checking to see how the Piwik service is responding to your request. If you’re using Firefox, you should be able to install a tool called Firebug that’ll allow you to inspect network traffic as it goes past. You should be able to spot a request that corresponds to the Piwik code trying to contact the server. Inspecting that may give some clues to what’s happening.

Regards,
Alec Smecher
Public Knowledge Project Team


#8

Hi @asmecher/@ctgraham,

Please, do you know how can we setup the Piwik Plugin under a SSL website?
When I try to change the link from “http” to “https” in the existent plugin, it denied me.

I did a search in the web, and found the plugin below, but I’m not sure how to setup Piwik using that one:

Do you have any idea, please?

My OJS version currently is 2.4.8.3

Thanks


#9

The plugin is explicitly requiring an http:// URL here:

I wonder if that is intentional. Can you try disabling that line (add a // in front of it), then change the URL to https://, and see if your Pwiki still functions?


#10

It looks that is working now!!! I appreciate your willingness to help!!!