matomo-org/matomo

When tracking code is put in <head>, add a note that fallback noscript should be put in body

Open

#9,776 opened on Feb 13, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)PHP (21,513 stars) (2,847 forks)batch import
Help wanted

Description

Since #9341 we recommend to put the tracking code into <head>. However, it is not valid HTML (which might be important to quite a few users) and not even sure if the noscript would actually work.

See https://github.com/piwik/piwik/issues/9341#issuecomment-180231930 and https://github.com/piwik/piwik/issues/9341#issuecomment-183718593

Maybe we could mention to put the <noscript> element into <body>

Contributor guide