Git Product home page Git Product logo

Comments (15)

paulyoung avatar paulyoung commented on July 24, 2024

+1

from analytics.js.

ianstormtaylor avatar ianstormtaylor commented on July 24, 2024

Gah super weird. Looking into this now! Sorry for the trouble

from analytics.js.

ianstormtaylor avatar ianstormtaylor commented on July 24, 2024

What version of analytics.js are you using btw?

from analytics.js.

pheuter avatar pheuter commented on July 24, 2024

0.2.2

from analytics.js.

ianstormtaylor avatar ianstormtaylor commented on July 24, 2024

Ah, can you add the latest version and see if it's still there? We upgraded the Mixpanel snippet in 0.3.4 to use their version 2.2, so that could easily be it.

from analytics.js.

pheuter avatar pheuter commented on July 24, 2024

Tried with 0.5.0, same error.

from analytics.js.

calvinfo avatar calvinfo commented on July 24, 2024

Any chance that you guys have some code that can reproduce this reliably? I've seen the error you're talking about on a few occasions, so there is definitely a bug somewhere. I'm finding it to be pretty intermittent which is making it difficult to test in IE8.

My best guess is that it has something to do with how the mixpanel object gets loaded on IE8. I'm curious whether moving the a.__SV = 1.2 line before the script element gets added to the page will fix it. I'm pretty sure IE8 doesn't block the execution for that dynamic node, but it might be worth a shot.

If you have a gist or a page I can look at which replicates the problem consistently, that would be incredibly helpful.

from analytics.js.

paulyoung avatar paulyoung commented on July 24, 2024

I first noticed the warning when trying to debug #80 and since we implemented the workaround for that issue I haven't been able to reproduce this.

from analytics.js.

calvinfo avatar calvinfo commented on July 24, 2024

@paulyoung - cool! I'm not sure how the two problems would be related at the moment, but I'm glad to hear that it seems to have fixed things. :)

@pheuter - do you happen to have a consistent test case which fails independent of KM? If there is still a problem, I'd love to fix it asap.

Thanks for your help!

from analytics.js.

pheuter avatar pheuter commented on July 24, 2024

@calvinfo Unfortunately I do not. Like @paulyoung mentioned, it has been difficult to reproduce since #80 was fixed, though it seems unlikely the two had anything in common...

from analytics.js.

ianstormtaylor avatar ianstormtaylor commented on July 24, 2024

Hey guys, if you can reproduce let us know and we'll check it out more. Gonna go ahead and close for now

from analytics.js.

rshubbard avatar rshubbard commented on July 24, 2024

I have reproduced the issue at http://www.reverbnation.com in IE8. I was able to debug it in a failed state and found IE was loading the mixpanel-2.2.min.js as soon as the statement d.parentNode.insertBefore(b,d); was run before the rest of the snippet had finished. Thus it was loading and running the script before it had set the version with the statement a.__SV=1.2;. If I move the statement d.parentNode.insertBefore(b,d); to the end of the snippet the problem goes away. Apparently IE8 can load the script as soon as it is inserted in the DOM.

from analytics.js.

calvinfo avatar calvinfo commented on July 24, 2024

@rshubbard what version of analytics.js are you using?

I had guessed this might be an issue. We updated the snippet in v0.9.5 to set a.__SV=1.2; before the loading script executes. Can you confirm that it still happens on the latest version?

from analytics.js.

rshubbard avatar rshubbard commented on July 24, 2024

Sorry my issue was with Mixpanel itself. I have forwarded them the issue. Appears to only happen on IE8.

from analytics.js.

nayaabkhan avatar nayaabkhan commented on July 24, 2024

We have started getting this error again on IE8 today, did Mixpanel change something just recently? Because I think it was fine until last week and today we just saw this come up in our IE8 console.

Mixpanel error:
Version mismatch; please ensure you're using the latest...
Object doesn't support property or method 'track_forms'

from analytics.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.