Mixpanel error: "mixpanel" object not initialized

Pepper picture Pepper · Feb 6, 2018 · Viewed 15k times · Source

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.

Answer

Fernando Bessa picture Fernando Bessa · Feb 6, 2018

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.