Uploaded image for project: 'Page Subscription'
  1. Page Subscription
  2. PAGESUB-30

Calculate and send news-feed subscription statistics for external storage and reports

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.LATER
    • None
    • None
    • 2 - Long term
    • 3 - Complex

      The goal is to make reports in Matomo, with newsfeeds subscription statistics computed by Ametys each night.

      Ametys would only gather, compute and send stats to Matomo through "events".

      Matomo would do the reporting on his side.

      Here is an example of http request to send to matomo (one for each thematic page). Here we have 874 subscribers to Ressources Humaines category:

       

      // GET https://your-matomo-domain/matomo.php
      ?idsite=1
      &rec=1
      &apiv=1
      &e_c=newsfeed
      &e_a=subscribers_count
      &e_n=Ressources%20Humaines
      &e_v=874
      &cdt=2025-04-24%2000:00:00
      &token_auth=your_token_here

      Note that Matomo offers javascript and java SDK : https://developer.matomo.org/api-reference/tracking-java

            Unassigned Unassigned
            gauthier Gauthier Ubersfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: