Help for Piwik Plugin

I installed Piwik plugin and fill in the matomo related parameters. Statistics are already available on the matomo system. However, no statistical results can be seen in the statistics of an event.

I think I may have filled in the wrong URL. Can you tell me which URL is wrong? Where should I get the correct URL from matomo?

Hi!

Have you been able to resolve this issue? I seem to be in the same situation: Matomo successfully receives Indico statistics, but any query from the event admin menu results in empty plots.

Do you have v3.3.1 of indico-plugin-piwik installed? Most likely that fixes the problem.

Yes, I do:

(indico) [indico ~]$ pip list | grep indico
indico                          3.3.4
indico-fonts                    1.2
indico-plugin-citadel           3.3
indico-plugin-cloud-captchas    3.3
indico-plugin-livesync          3.3
indico-plugin-owncloud          3.3
indico-plugin-payment-manual    3.3
indico-plugin-payment-paypal    3.3
indico-plugin-payment-sixpay    3.3.1
indico-plugin-piwik             3.3.1
indico-plugin-previewer-code    3.3
indico-plugin-previewer-jupyter 3.3.1
indico-plugin-prometheus        3.3
indico-plugin-storage-s3        3.3
indico-plugin-ursh              3.3
indico-plugin-vc-zoom           3.3
indico-plugins                  3.3.1

Try this:

  • First of all, set “Result cache TTL (seconds)” to 1 (not sure if we support 0 to disable it altogether) - otherwise the plugin caches error responses as well, making debugging things massively painful. You might also want to wait whatever duration was there before in case you recently tried the statistics page of an event to ensure the cache expired.
  • “Piwik API server URL” must be your main Piwik URL WITHOUT any /index.php or similar at the end (IIRC we had a wrong description text below that option in the past)

That solved it! Thank you so much!

I guess the real issue was in the “Piwik API server URL”, it was set with “/index.php” at the end.

you don’t want to know how much time I wasted on this myself :smiley: