On Wed, Feb 04, 2026 at 08:03:28PM +0000, DSpace Technical Support wrote:
> 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
This might be an opportune moment to underscore what that means:
there are sizable jurisdictions in which the ability to easily render
download statistics incomplete is a legal requirement.
Together with the tremendous growth in bot traffic, this ought to call
the whole practice of download counting seriously into question. We
need another way to demonstrate the value of repository content. We
need to measure that which tells us what we want to know, not that
which is easy to (mis)measure.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
library.indianapolis.iu.edu
ORCiD: 0000-0002-9558-3768