Mixpanel error: "mixpanel" object not initialized

15,214

Solution 1

If you are not using mixpanel in your code, you should check whether it is one of your extensions.

In my case it was the PageRuler extension and started happening only today.

Solution 2

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

["https://chrome.google.com/webstore/detail/page-ruler/jlpkojjdgbllmedoapgfodplfhcbnbpn?hl=nl"] that caused this error.

Disable all extensions until the error does not occur anymore.

Share:
15,214
Pepper
Author by

Pepper

Updated on July 10, 2022

Comments

  • Pepper
    Pepper almost 2 years

    I am getting the below error.

    I am using Angular - I have not imported a mix panel library - if I do a search I cannot find this.

    Why am I getting this error/how can get rid of it?

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

  • Andres Elizondo
    Andres Elizondo over 6 years
    Thanks, this happened after updating Chrome to version 64.0.3282.140
  • Suresh Kumar
    Suresh Kumar over 6 years
    Removed page ruler
  • doublejosh
    doublejosh over 6 years
    The creator of the extension was notified... github.com/wrakky/page-ruler/issues/103
  • Zach Smith
    Zach Smith over 6 years
    This is a tracking library... How much information is a chrome addin able to track? i.e. can they see hostnames, mouse moves, clicks, etc?
  • trajce
    trajce over 6 years
    I just checked, and yep, it was Page Ruler for me too, but i didn't remove or disable it. I just unchecked 'Send Anonymous Usage Statistics' option under the extension options, since @ZachSmith mentioned that its a tracking library. Now there is no error.
  • Jake Wilson
    Jake Wilson over 6 years
    Same issue with Page Ruler... Worked fine without it. Why would an extension cause an issue with a random JS library? Poor extension code or poor library code?
  • Uland Nimblehoof
    Uland Nimblehoof over 6 years
    Also Page Ruler ^^
  • Mr. HK
    Mr. HK over 6 years
    @JakeWilson This happened after updating Chrome to version 64.0.3282.140