ID google analytics

OJS, it has PDF and HTML files, I configured the Google Analytics ID, but it only controls PDFs, and HTML files are not considered, and it was necessary to manually put a code in each of the HTML files, but If there are version changes, I have to change the code again in the manual process of the thousands of files,… how should I correct it?
Describe the issue or problem
Please tell us what happens and what you expected to happen.

Steps I took leading up to the issue
For example:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

What application are you using?
For example, OJS 3.3.0-4

Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.

Hi @Marga

If you have developer resources available you could probably do what you want by making a customization to the htmlGalley plugin. The plugin already performs an inspection of the content of your HTML files in order to transform image tags, so you could probably modify the plugin to insert what you need.

Best
Jason