What files to copy/paste Google Tag Manager code snippet?

Hi @pcansf, hit a blank wall. We added the GTM code to ojs/templates/common/header.tpl and js/templates/articles/head.tpl. However, it didn’t work; references to gtm.js were going missing in the code. So we had to re-activate the Google Analytics plugins. Raised the issue on this forum - Google Tag Manager support - but no response so far.

All the best.