Hi, 1) Yes. As soon as you configure your Google Analytics Key, it's inserted as JS code in the HEAD section of every JSP page. At least in DSpace-CRIS 5.10 (JSPUI) works that way 2) If you edit the final destination of dspace.cfg (for example /usr/local/dspace/dspace.cfg) you just need to restart Tomcat. If you edit your source code, you need to recompile in order to propagate changes to final destination. I prefer last option.
El miércoles, 1 de julio de 2020, 22:56:49 (UTC+1), Camilo Freire escribió: > > Hi: > > I would like to add Google Analtyics to a DSpace 6 with jspui. In the > documentation I've found that it would be two different places in which the > configuration of Google Analytics could be added: in de config/dspace.cfg > file, changing the jspui.google.analytics.key variable and > config/modules/google-analtyics.cfg. My goal is to attach my dSpace to a > Google mail account so I suppose that the first is the correct one. > > I gould like to know: > > 1) is it enough to set the jspui.google.analytics.key in the dspace.cfg > file in order to attach Google Analytics to my account? > 2) should I re compile dSpace in order to make the changes work? > > Thanks in advance > Camilo Freire > > > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/0e11bd96-476a-4519-b1f8-28e5c0be6f91o%40googlegroups.com.
