OJS 3.2.1-1 Google analytics on global header

Hi, I’m trying to put my google analytics tracking code on the header.tpl but, when I refresh my page I get error 500 and the OJS won’t load.

Is there a way to put my tracking code on the header or footer of my template?

Thank you very much for your support!

Hi @Juan_Lopez,

Check your PHP error log for details. You’ve likely got a Smarty syntax error, and might need to escape your modifications using the Smarty {literal}{/literal} tags.

Alec Smecher
Public Knowledge Project Team

Thank you for the support!