Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS-Error: piwik_log is not defined #5798

Closed
anonymous-matomo-user opened this issue Oct 9, 2008 · 3 comments
Closed

JS-Error: piwik_log is not defined #5798

anonymous-matomo-user opened this issue Oct 9, 2008 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

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

@robocoder
Copy link
Contributor

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.

@anonymous-matomo-user
Copy link
Author

Replying to [vipsoft](comment:1):

> 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.

@mattab
Copy link
Member

mattab commented Oct 10, 2008

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants