Google Analytics search_term param

39 views
Skip to first unread message

ZiGi

unread,
Aug 2, 2023, 5:06:39 AM8/2/23
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?
Reply all
Reply to author
Forward
0 new messages