-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
2 - Long term
-
3 - Complex
The goal is to make reports in Matomo, with page subscription statistics computed by Ametys each night.
Ametys would only gather, compute and send stats to Matomo.
Matomo would do the reporting on his side.
Here is an example of http request to send to matomo (one for each subscribed page):
// GET https://your-matomo/matomo.php
?idsite=1
&rec=1
&apiv=1
&e_c=engagement
&e_a=subscription_count
&e_n=Page%20AboutUs
&e_v=1
&cdt=2025-04-24%2000:00:00
&token_auth=your_token
Same for like:
// GET https://your-matomo/matomo.php ?idsite=1 &rec=1 &apiv=1 &e_c=engagement &e_a=subscription_count &e_n=Page%20AboutUs &e_v=1 &cdt=2025-04-24%2000:00:00 &token_auth=your_token
Note that Matomo offers javascript and java SDK : https://developer.matomo.org/api-reference/tracking-java
- Est référencé par
-
PAGESUB-30 Calculate and send news-feed subscription statistics for external storage and reports
-
- Open
-