This had me quite confused - please update the documentation to reflect the new recommendation.
During the installation I thought I read "We recommend to paste it immediately before the closing tag.".
But my colleague - who had implemented Piwik in our other sides - placed it, as usual, before the closing
Thanks! This FAQ is outdated indeed.
Maybe also related is https://github.com/piwik/piwik/issues/9776 and eg https://github.com/cbleek/YawikDemoSkin/issues/1 etc