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

 (1 comment) (0 reactions) (0 assignees)PHP (2,890 forks)batch import
Help wanted

Repository metrics

Stars
 (21,771 stars)
PR merge metrics
 (Avg merge 8d 11h) (106 merged PRs in 30d)

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