How to insert piwiki tracking code in compiled JSP env ( ie only classfiles present on server)

Hi,

My website is using struts and have only compiled java class files no way to insert piwik tracking code.
I dont want to do it at the time of compilation.

Any suggestions.

Thanks
Saurabh

Simply follow instructions on the Javascript page here: JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3