Context : OJS 188.8.131.52 ; single-journal instance ; Google Analytics Plugin version 184.108.40.206
I am not familiar with Google Analytics and I have had this question from one of our journal editor regarding Google Analytics.
This person recently received a message from Google inviting him to take action in order to take advantage of the new Google Analytics (version 4 if I understand correctly (?)) for his journal in order to benefit from more advanced features with tracking. This journal is already using the plugin with their registered UA-XXXXX-1 number. The journal editor manages himself his Google Analytics account so I don’t necessarily know how it’s set up on their end (but I would assume they are probably not using Google Analytics with Google Tag Manager (?)).
The OJS Google Analytics Plugin (our installed version of the plugin nor the latest code seen for the OJS 3.3.x version(googleAnalytics/GoogleAnalyticsPlugin.inc.php at stable-3_3_0 · pkp/googleAnalytics · GitHub)) seems to refer to the analytics.js and doesn’t seem to be updated for the latest gtag.js, is that correct?
At this stage how can we have this journal register for the new tag? Should the plugin be modified/updated ? Or maybe he will have to have Google Tag Manager installed on his end first… or not (not sure how this works)?
Thanks for your help,