Google tag manager in Dspace 7

476 views
Skip to first unread message

Serhiy Havrylovych

unread,
Aug 28, 2022, 2:48:44 PM8/28/22
to DSpace Community
Hello. How to add code to Google tag manager in Dspace 7?

Tim Donohue

unread,
Aug 29, 2022, 11:08:57 AM8/29/22
to DSpace Community
I'm assuming maybe you are asking about Google Analytics?

Currently, DSpace 7 (as of 7.3) just supports Google Analytics v3 (also known as Universal Analytics ID, which looks like UA-xxxxxx-x).  If you'd like to configure the Universal Analytics ID, it can be specified in your backend's "local.cfg" in the "google.analytics.key" property.  See the documentation at https://wiki.lyrasis.org/display/DSDOC7x/DSpace+Google+Analytics+Statistics#DSpaceGoogleAnalyticsStatistics-GoogleAnalyticsRecording

If you are looking for Google Analytics v4 support (which has keys that look like "G-xxxxx"), that will be coming soon. It's currently in process and we hope to have it completed for the upcoming DSpace 7.4 release (due in October).  See this ticket for details: https://github.com/DSpace/DSpace/issues/8413

Tim

Serhiy Havrylovych

unread,
Aug 29, 2022, 12:40:59 PM8/29/22
to DSpace Community
Thanks for the reply, but I'm interested in Google Tag Manager.

понеділок, 29 серпня 2022 р. о 17:08:57 UTC+2 Tim Donohue пише:

Tim Donohue

unread,
Aug 29, 2022, 3:37:57 PM8/29/22
to Serhiy Havrylovych, DSpace Community
Hi,

DSpace 7 doesn't currently support Google Tag Manager out of the box.  You likely could customize the code of the UI to insert the necessary code snippets in your DSpace 7 site. But, DSpace doesn't have any way to do this for you yet.

Tim

From: dspace-c...@googlegroups.com <dspace-c...@googlegroups.com> on behalf of Serhiy Havrylovych <havry...@gmail.com>
Sent: Monday, August 29, 2022 11:40 AM
To: DSpace Community <dspace-c...@googlegroups.com>
Subject: [dspace-community] Re: Google tag manager in Dspace 7
 
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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 dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/59bce5d2-0c26-4b41-ac87-8e2eed8b8127n%40googlegroups.com.

Serhiy Havrylovych

unread,
Aug 31, 2022, 5:04:53 AM8/31/22
to DSpace Community
Clearly. Thank you.

понеділок, 29 серпня 2022 р. о 21:37:57 UTC+2 Tim Donohue пише:
Reply all
Reply to author
Forward
0 new messages