Hi Julia, Yes, if a user opts out of Google Analytics tracking then their visits will not be recorded in Google Analytics. This was added to align with privacy regulations like GDPR, as those regulations require an ability to opt-out of any non-required "tracking" cookies. As the Google Analytics tracking cookie is not required to make DSpace function, users are able to opt-out of it.
The logic for this is all in the "google-analytics.service.ts" class <https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/statistics/google-analytics.service.ts> in the frontend. Tim On Wednesday, February 4, 2026 at 12:18:48 PM UTC-6 [email protected] wrote: > Hi DSpace community, > > We would like to clarify if/how the Klaro consent pop-up impacts site > statistics. > > Specifically, if Google Analytics is set up for a DSpace site but a > visitor leaves the “Statistical > Google Analytics” option turned off in > the Klaro pop-up, would that prevent their visits from being recorded in > Google Analytics? > > Thank you, > > Julia > > > -- All messages to this mailing list should adhere to the Code of Conduct: https://lyrasis.org/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/4d12f860-45c2-4588-b0ce-11540345438cn%40googlegroups.com.
