-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for other Analytics service is required to be GDPR compliant #8414
Comments
Agreed this is a necessary change. However, I'm flagging this as |
I also see a lot of requests in this direction. It would be great to support Matomo! |
We also are exploring Matomo. |
I have created an issue on the OpenAIRE Piwik DSpace project to see if the openaire team is willing to help us with a general solution as their patch is indeed related Piwik = old name of Matomo, OpenAIRE statistics is a central managed instance of Matomo |
Hola, para integrar Matomo en DSpace 7.x, me sirvio modificar el archivo footer.component.ts, dentro del archivo debes colocar lo siguiente: import { Component, AfterViewInit, Renderer2, ElementRef } from '@angular/core'; declare global { @component({ export class FooterComponent implements AfterViewInit { ngAfterViewInit() { private trackPageViews() { De esta forma Matomo comenzará a rastrear toda la actividad dentro de DSpace. Luego solo debes incorporar el atributo download="download" dentro del archivo file-download-link.html <a [routerLink]="(bitstreamPath$| async)?.routerLink" download="download" class="dont-break-out" [queryParams]="(bitstreamPath$| async)?.queryParams" [target]="isBlank ? '_blank': '_self'" [ngClass]="cssClasses"> Agregando el atributo download, matomo comprende que cuando el usuario hace clic en el enlace de descarga, es efectivamente una descarga. Aplicando estos cambios, Matomo debería capturar datos sin problema, al menos a mi me funciona sin problema. |
Due to the controversial use of GA also in version 4 many institution in Europe are looking for different alternative including self hosted analytics service. The most common used alternative both in case of self-hosting than in case of managed European services is Matomo an open source platform. We should add support for it in a similar way to what is currently provided for google analytics.
We (4Science) are interested on working on that, it should take around 3-4 days on the REST part and 2 days on the Angular side
The text was updated successfully, but these errors were encountered: