27

mixpanel-2-latest.min.js:9 Mixpanel error: "mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.

From the last couple of days, I am seeing this error in the console when I do inspect element in my Google Chrome. I am using the latest Chrome version 64. I am not using mixpanel. It's also showing up if I open any public website. Any idea how to resolve this error?

Screenshot of Chrome with error in developer console

7 Answers 7

62

Check your extensions, for me it was 'Page Ruler' (https://chrome.google.com/webstore/detail/page-ruler/jlpkojjdgbllmedoapgfodplfhcbnbpn?hl=nl) that caused this error. Systematically disable all extensions until the error does not occur anymore.

9
  • 4
    Also for me the plugin Page Ruler was the reason for this error. I'm asking myself how that is possible that we get an error in console of a website due to a plugin we use.
    – Asqan
    Feb 6, 2018 at 14:12
  • 3
    @Asqan thankfully we did get that error, otherwise many people wouldn't have realized that this extension has gone rouge and sending confidential information.
    – Pablo
    Feb 6, 2018 at 14:18
  • 'Page Ruler' for me, too Feb 7, 2018 at 5:23
  • 1
    Yesterday when working on a angularjs project, I pressed F5 and my js console showed me an error regarding Mixpanel that could not be loaded. At first I though this was a dependency of mine, but when I could not find it, I did a google search and found this page. Following @spassvogel's link I read the reviews and I informed myself about what Maxipanel does.
    – Pablo
    Feb 7, 2018 at 14:44
  • 1
    @Asqan If you didn't get it, the console you view shows you each and every console log thrown by anything that can throw a log at it, extensions included. I'm guessing this is for debug reasons. Clicking on one of the options below top will lead you to only seeing logs from that extension. Feb 8, 2018 at 3:46
11

I started getting this error out of the blue. It was the chrome extension PageRuler. I trashed PageRuler and the error went away.

8

Alternatively, you can go to Page Ruler's options menu, and uncheck "Send Anonymous Usage Statistics". This will enable you to continue using the extensions without seeing the error message.

5

That's correct. The Page ruler plugin is the one who cause the console error "Mixpanel error: "mixpanel" object not initialized". Disable it and all good to go

1
  • This doesn't seem to add anything to the three existing answers that say the same thing.
    – Blackwood
    Feb 8, 2018 at 4:11
3

"Free Video Downloader" is another cause.

2

Check your extensions, for me, it was 'Page Ruler'.

No need to remove 'Page Ruler', Instead of removing do the following...

Page Ruler's options menu, and uncheck "Send Anonymous Usage Statistics".

1

I checked all given answere in here. All sayed to disable the "Send Anonymous Usage Statistics" checkbox in the settings....

I think hiding a problem is not solving a problem. Since there were a newer version of PageRuler (i had 2.1.2, newest is currently 2.1.3) I deinstalled the old one, reinstalled the new one and from now on, no matter if I send stats or not, error doesn't appaers anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.