mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Piwik: Do not use deprecated API
This fixes compatibility with Matomo
This commit is contained in:
parent
1e36875e57
commit
e88574bff0
@ -1,10 +1,7 @@
|
||||
# Piwik Plugin
|
||||
|
||||
The Piwik plugin allows integrating Indico with a Piwik instance to gather
|
||||
statistics about the users accessing Indico or specific Indico events.
|
||||
|
||||
Please note that the plugin has not been tested with Piwik's successor,
|
||||
Matomo, so we do not know whether it is compatible with it or not.
|
||||
The Piwik plugin allows integrating Indico with a Piwik or Matomo instance to
|
||||
gather statistics about the users accessing Indico or specific Indico events.
|
||||
|
||||
## Changelog
|
||||
|
||||
|
||||
@ -46,5 +46,5 @@ class PiwikQueryReportEventGraphCountries(PiwikQueryReportEventGraphBase):
|
||||
|
||||
class PiwikQueryReportEventGraphDevices(PiwikQueryReportEventGraphBase):
|
||||
def call(self, **query_params):
|
||||
return super().call(apiModule='UserSettings', apiAction='getOS', period='range', width=320, height=260,
|
||||
graphType='horizontalBar', **query_params)
|
||||
return super().call(apiModule='DevicesDetection', apiAction='getOsVersions', period='range', width=320,
|
||||
height=260, graphType='horizontalBar', **query_params)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user