What if you used the html snippet to add the html tag you need.
https://appstore.home.mendix.com/link/app/56/Mendix/HTML/-JavaScript-Snippet
You could edit the index file and add a generic line in the head of the file, and then write a jquery script that will append/change the html line for every page a user is on.