Index.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  2. {namespace ot=Opentalent\OtTemplating\ViewHelpers}
  3. <f:layout name="Backend/Default" />
  4. <f:section name="content">
  5. <div class="ot-be-module ot-stats">
  6. <h1>Statistiques d'utilisation</h1>
  7. <div id="matomoFilters">
  8. <span>Période d'analyse: </span>
  9. <f:form action="index">
  10. <f:form.select class="form-control"
  11. name="period"
  12. options="{week: 'La semaine passée',
  13. month: 'Le mois passé',
  14. year: 'L\'année passée'}"
  15. value="{period}">
  16. </f:form.select>
  17. <f:comment><!--
  18. Important: if the cache is not disabled,
  19. then the results won't be updated even after submitting this form
  20. --></f:comment>
  21. <input type="hidden"
  22. name="no_cache"
  23. value="1">
  24. <f:form.button type="submit" class="ot-btn">
  25. Actualiser
  26. </f:form.button>
  27. </f:form>
  28. </div>
  29. <div id="matomoReport">
  30. <div class="reportSection">
  31. <f:comment><!-- Real time visits--></f:comment>
  32. <f:render partial="ReportCard"
  33. arguments="{title: 'Visites en temps réel', id: 'realTimeVisits',
  34. module: 'Live', action: 'widget',
  35. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  36. <f:comment><!-- Last visits graph--></f:comment>
  37. <f:render partial="ReportCard"
  38. arguments="{title: 'Dernières visites', id: 'lastVisitsGraph',
  39. module: 'VisitsSummary', action: 'getEvolutionGraph',
  40. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  41. <f:comment><!-- Visits Summary --></f:comment>
  42. <f:render partial="ReportCard"
  43. arguments="{title: 'Résumé', id: 'visitsSummary',
  44. module: 'VisitsSummary', action: 'get',
  45. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  46. </div>
  47. <div class="reportSection">
  48. <f:comment><!-- By weekday --></f:comment>
  49. <f:render partial="ReportCard"
  50. arguments="{title: 'Par jours de la semaine', id: 'visitsByWeekday',
  51. module: 'VisitTime', action: 'getByDayOfWeek',
  52. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  53. <f:comment><!-- By local hour --></f:comment>
  54. <f:render partial="ReportCard"
  55. arguments="{title: 'Par heures locales', id: 'visitsByHour',
  56. module: 'VisitTime', action: 'getVisitInformationPerLocalTime',
  57. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  58. <f:comment><!-- Map --></f:comment>
  59. <f:render partial="ReportCard"
  60. arguments="{title: 'Répartition géographique', id: 'visitsMap',
  61. module: 'UserCountryMap', action: 'visitorMap', height: '450',
  62. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  63. </div>
  64. <div class="reportSection">
  65. <f:comment><!-- Refferers --></f:comment>
  66. <f:render partial="ReportCard"
  67. arguments="{title: 'Origines', id: 'visitsRefferers',
  68. module: 'Referrers', action: 'getAll',
  69. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  70. <f:comment><!-- By web-browsers --></f:comment>
  71. <f:render partial="ReportCard"
  72. arguments="{title: 'DevicesDetection', id: 'getBrowsers',
  73. module: 'Referrers', action: 'getAll',
  74. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  75. </div>
  76. <div class="reportSection">
  77. <f:comment><!-- By page --></f:comment>
  78. <f:render partial="ReportCard"
  79. arguments="{title: 'Pages visitées', id: 'visitsByPage',
  80. module: 'Actions', action: 'getPageUrls', width: '1028',
  81. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  82. </div>
  83. <div class="reportSection">
  84. <f:comment><!-- By entry page --></f:comment>
  85. <f:render partial="ReportCard"
  86. arguments="{title: 'Pages d\'entrée', id: 'visitorsEntryPoints',
  87. module: 'Actions', action: 'getEntryPageUrls',
  88. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  89. <f:comment><!-- By visits duration --></f:comment>
  90. <f:render partial="ReportCard"
  91. arguments="{title: 'Durée des visite', id: 'visitsByDuration',
  92. module: 'VisitorInterest', action: 'getNumberOfVisitsPerVisitDuration',
  93. matomoSiteId: matomoSiteId, matomoToken: matomoToken, period: period}"/>
  94. </div>
  95. <div class="reportFooter">
  96. <f:link.action
  97. action="askForDeactivationConfirmation"
  98. title="select"
  99. id="disableLink"
  100. class="warning"
  101. >
  102. Désactiver le suivi de l'utilisation
  103. </f:link.action>
  104. </div>
  105. </div>
  106. </div>
  107. </f:section>