Loading...
 
Skip to main content

Plugin Piwik

Introduced in Tiki15, this wiki plugin embed a Piwik preformatted report (widget module)

Parameters

Embed a Piwik preformatted report (widget module) - Piwik Analytics is required. To use this plugin you have to grant in your Piwik view permission to anonymous for the selected "Site Id" or to add a token authentification parameter.
Introduced in Tiki 15. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_piwik

Parameters Accepted Values Description Default Since
groups User groups for which piwik will be available
group_option text Define option for Piwik groups, include or exclude
code none Piwik JavaScript tracking code
date Enter date or start date for the data to be displayed (yesterday by default). Possible values are: today, yesterday, and yyyy-mm-dd. yesterday 15
enddate Enter end date (format yyyy-mm-dd) for the data to be displayed (only if range period is selected). 15
_height Optional, height of the module in px. 265 15
_width Optional, width of the module in px or % (100% by default). 100% 15
piwikserverurl The url to your Piwik Server, where data for the report are collected and available. http(s)://yourpiwik.tld/index.php?
In Piwik, the selected site (Site Id) must have view permission set for anonymous, or a token authentication parameter can be inserted in the Piwik server URL.
http(s)://yourpiwik.tld/index.php&token_auth=yourtokencode Important : token_auth is visible in the html code and must be used in private page accessible to trusted users.
15
_scrolling no
yes
Optional, scrolling of the iframe that contain the module (no by default). no 15
moduleToWidgetize Actions,getPageUrls| Actions,getEntryPageUrls| Actions,getExitPageUrls| Actions,getOutlinks| Dashboard,index| Live,widget| Live,getSimpleLastVisitCount| Live,getVisitorProfilePopup| Referrers,getAll| Referrers,getSearchEngines| Resolution,getResolution| SEO,getRank| UserCountryMap,realtimeMap| UserCountryMap,visitorMap| UserCountryMap,getCountry| UserCountryMap,getContinent| UserLanguage,getLanguage| UserLanguage,getLanguageCode| VisitTime,getByDayOfWeek| VisitTime,getVisitInformationPerLocalTime| VisitTime,getVisitInformationPerServerTime| VisitTime,getByDayOfWeek| VisitsSummary,getEvolutionGraph| VisitsSummary,index| UserCountryMap,visitorMap| VisitorInterest,getNumberOfVisitsPerVisitDuration| VisitFrequency,getSparklines| VisitFrequency,getEvolutionGraph| DevicesDetection,getType| DevicesDetection,getBrowsers| DevicesDetection,getBrowserVersions| DevicesDetection,getOsFamilies| DevicesDetection,getOsVersions| VisitorInterest,getNumberOfVisitsPerVisitDuration| VisitorInterest,getNumberOfVisitsPerPage| VisitorInterest,getNumberOfVisitsByVisitCount| VisitorInterest,getNumberOfVisitsByDaysSinceLast| Resolution,getResolution Piwik widget module to be used (as described in the widget section of your Piwik server) followed by the actionToWidgetize parameter separated by a comma. VisitsSummary,getEvolutionGraph 15
idSite digits The ID of this website in Piwik To be improved. 15
period day
week
month
year
range
Data display duration. If range is selected you must enter the start and end the date. day 15