xwikisas / application-analytics

GNU Lesser General Public License v2.1
0 stars 1 forks source link

Create Visits overview macro #47 #69

Closed Farcasut closed 7 months ago

Farcasut commented 8 months ago

https://github.com/xwikisas/application-analytics/assets/92780090/d51e24fb-b616-46eb-ab3a-7fe0c3e88e15 I've implemented the Visits Overview macro. The CSS classes are so generic because both the JavaScript and Velocity macros are made to be reused when creating the Returning Visits macro.

Farcasut commented 8 months ago

I've added support for multi-line graphs. The green line is not displayed when the period is set to 'year' because Matomo does not generate yearly reports for VisitsSummary.getUniqueVisitors by default. However, if a user wants to enable them, they can activate the report in Matomo's config file. Also, I wasn't able to add total searches on your website & unique keywords, downloads & unique downloads and outlinks & unique outlinks because, even though Matomo indicates that this module would return them, it doesn't. For more information, visit: https://developer.matomo.org/api-reference/reporting-api#VisitsSummary Preview for multiline graphs can be found here: https://github.com/xwikisas/application-analytics/assets/92780090/b808da01-a509-4c20-a895-fc9231003419"

Farcasut commented 6 months ago

The linked issue was wrong, and I removed it and added the correct one.