For instance, this happens when I am visiting the website. I can see the request send to Piwik and it contains
I also tried to put explicitly
but without success.
This problem is only with one of the tracked websites and for visitors using Firefox or Opera browsers.
Please feel free to contact me if you require additional debug information.
Make sure you call setDocumentTitle() before trackPageView().
On the pages where the title is showing as HTMLImageElement, check the page markup.
Please follow-up in the Piwik forum for further assistance. You can PM me the URL of one of the affected pages.
Looks like this is a Firefox bug. https://bugzilla.mozilla.org/show_bug.cgi?id=446349
Check your page markup and fix the affected img tag. You're looking for something like these:
<img ... id="title" ...> <img ... name="title" ...>
Indeed, this was the problem. Thanks for your fast reply.
It looks like Mozilla isn't going to fix this. I'll add a workaround.
re-opening; it's also/still a problem in Safari and Chrome.
(In ) fixes #2866 - in Safari/Chrome, getElementsByTagName returns an object with typeof "function"
(In ) refs #2866 - there is still a corner case if <title> tag is omitted entirely