It is necessary that the GTM script is always before < /head >. On all pages. Any ideas on how to place it always at the end of the head ?
In Kentico 11, it's quite a bit harder to have it be the very last item in the <head> tag without some interesting workarounds. Typically, this is the simplest place to add it on the Master Page template.
<head>
This method doesn't work, I can't even see the script on the page. Are there any other workarounds?
Then there's a good chance you're site is using custom aspx templates. If that's the case, you'll need access to your code base to add the requested code you're talking about.
I tried to change PortalTemplate.aspx but there was no positive result. Kentika added tags after my script.
Please, sign in to be able to submit a new answer.