Ticket #378 (closed Bug: invalid)

Opened 3 years ago

Last modified 23 months ago

JS-Error: piwik_log is not defined

Reported by: leg Owned by:
Priority: low Milestone:
Component: Core Keywords:
Cc: Sensitive: no

Description

I just played araound with Piwik and got some strange javascript errors: "piwik_log is not defined". The error only occured in Firefox 3. I didn't find anything about this problem in this tracker, so just to let others searching for the same here's what i found:

The add-on "Adblock Plus" with filter-abo from "Filter von Dr.Evil (Deutschland)" blocks /piwik.js

Change History

follow-up: ↓ 2   Changed 3 years ago by vipsoft

Adblock Plus does have a filter to block various analytics. If Adblock Plus and/or the filter is causing the Javascript errors, then you should be reporting it to the respective developers.

Otherwise, the javascript error implies the analytics code wasn't added correctly to the web page. If you can provide an external URL to your site, we can take a look.

in reply to: ↑ 1   Changed 3 years ago by leg

Replying to vipsoft:

If you can provide an external URL to your site, we can take a look.

Just navigate to http://piwik.org/ and have a look at the error console. German output (Error/Source/Line):

Fehler: piwik_log is not defined Quelldatei: http://piwik.org/ Zeile: 293

As said in my post piwik.js is blocked by adblock which disables all functions including piwik_log(). No error message is presented to the user. it's just an entry in the JS error log. My problem is that no visitor data is logged by piwik.

I spent some time wondering why all hits from other browsers than Firefox 3 were correctly logged and tracing it back to adblock plus. It's not a piwik bug, but I didn't find any explanation for it an thought it useful to document it for users having the same problem.

  Changed 3 years ago by matt

  • status changed from new to closed
  • resolution set to invalid

As you say, this is not a Piwik bug. closing

  Changed 2 years ago by spomoni

  Changed 2 years ago by spomoni

  Changed 23 months ago by vipsoft

  • keywords adblock removed
  • sensitive unset
Note: See TracTickets for help on using tickets.