ZiGi
unread,Aug 2, 2023, 5:06:39 AM8/2/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DSpace Technical Support
Hi everyone,
I've noticed that the search_term parameter for Google Analytics 4 is practically never passed. When a user enters any phrase in any search engine on the website, this information is not transmitted to Google Analytics, making it impossible to check statistics for searched terms. In my opinion, the problem may stem from the placement of the code. The Google script should be placed at the beginning of each page, between the <head></head> tags, rather than at the end of the <body> section. This way, it's possible that not all data is being collected from the website. Could I find out which file/files I should modify to ensure that the Google script is placed in the correct location?