Ticket #2866 (closed Bug: fixed)
document.title is overridden by element with id=title or name=title
| Reported by: | rth | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7 Piwik 1.7 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description
Using the default javascript tracking code with Piwik (1.5.1 and 1.6), sometimes page title is not recorded, the following text is shown instead
[object HTMLImageElement].
For instance, this happens when I am visiting the website. I can see the request send to Piwik and it contains
...
_viewts 1326571313
action_name [object HTMLImageElement]
ag 0
cookie 1
...
I also tried to put explicitly
piwikTracker.setDocumentTitle(document.title);
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.
